SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how can i create form submission with varification?

    Hi, i'm learning php and i'm beginner. now i'm going to learn form submission. so please help me to create form submission with verification.

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    There are a lot of tutorials out there use your favorite search engine.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Member blogaddition's Avatar
    Join Date
    Sep 2012
    Location
    India
    Posts
    23
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    go to 9lessons.com and get your appropriate form.

  4. #4
    SitePoint Enthusiast
    Join Date
    Jul 2011
    Location
    Novi Sad
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is simple form that process your inputed name:
    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset=utf-8 />
    <title>Form</title>
    </head>
    <body>
      <?php 
        if(isset($_POST['my_name']))
        {
          echo 'Hello!';
      } else {
          echo 'Please enter your name!';
      }
      ?>
      <br/>
      <form action="#" method="post">
        Type your name here: <input type="text" name="my_name" /><br/>
        <input type="submit" value="Send" />
      </form>
    </body>
    </html>


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •