Web Analytics Made Easy -
StatCounter Email me form - CodingForum

Announcement

Collapse
No announcement yet.

Email me form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Email me form

    Hello all
    i have email me form but it's has 4 choice in the start page of the form and each choice has own input fileds will Change so how to do the prossing.php or i mean send.php that the send.php email me only the text of the filed of the choice box
    Hope u understand my English
    Best regards
    Sam

  • #2
    Show us the web page with your form ... if we can see the form, we can provide example.

    Comment


    • #3
      you use
      PHP Code:
      $_POST['thetext'
      to retrieve a specific text box.

      EX:
      Code:
      <form action="send.php" method="post">
      <input type="text" value="UR TEXT" name="thetext" >
      </form>
      PHP Code:
      $text $_POST['thetext']; 
      now ur text variable has the posted info

      Read this on how to mail:
      http://us2.php.net/manual/en/function.mail.php

      Hope this helps!

      Comment


      • #4
        I'm sorry I don't understand the question,
        that's why we should see the form you have so far ...
        Put the form online and give us a link to it.

        There are thousands of PHP "send form" examples ... you can use Google to find them.
        http://www.google.com/search?hl=en&q...+form&aq=f&oq=

        Comment


        • #5
          I had upload it

          Here i had upload it
          http://www.geocities.com/sam424544/test/test.html
          hope can help Cheers

          Comment


          • #6
            So you have the form,
            what does this script look like: submit.php

            Which part of the form are you having trouble with?

            Comment


            • #7
              i need the ....

              Hello i need the hale submit.php for this form etc..

              Comment


              • #8
                What do you want the form to do??

                Comment


                • #9
                  Submitting contact forms using PHP is the most asked question on the internet.
                  There are millions, and millions of tutorials and pages about this subject.

                  I didn't realize you wanted us to do the coding for you.
                  It sounded like you just had a coding problem (error) you needed help with.

                  So here are 1.4 million tutorials and sites for you to look at:
                  http://www.google.com/search?hl=en&q...cript&aq=f&oq=

                  And then you have all of the validation to do (and captcha)?
                  This coding will take someone a lot of time ...
                  if you can find someone to do all of your coding for free, go for it.


                  .
                  Last edited by mlseim; Apr 13, 2009, 10:46 PM.

                  Comment


                  • #10
                    no i do not need the hale coding form i want there is 4 if
                    Skilled Worker
                    Business Class
                    Family Sponsorship
                    Canadian Experience Class
                    and when chose each one of them the forum change so each one has own form how i can make if in the sumbit.php this what i need rest i can do it

                    Comment


                    • #11
                      PHP Code:
                      <?php

                      $assess
                      =$_POST['assessType'];

                      switch (
                      $assess){
                          case 
                      "Skilled":
                              
                      // Skilled Worker
                              // do something here
                              
                      break;
                          case 
                      "Business":
                              
                      // Business Class
                              // do something here
                              
                      break;
                          case 
                      "Family":
                              
                      // Family
                              // do something here
                              
                      break;
                          case 
                      "Cec":
                              
                      // Cec
                              // do something here
                              
                      break;
                      }

                      ?>

                      Comment

                      Working...
                      X