A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: PHP Beginner query ....please help

  1. #1
    Junior Member
    Join Date
    Apr 2000
    Posts
    10
    I have just started exploring PHP. I have installed PHP, Mysql and Apache. When I try any form there seems t be a notice and I am not able to post variables. The notice I get in the browser is :
    Notice: Undefined variable: submit in (file.php) on line 16
    Please tell me what I need to do to get rid of this and proceed.
    Thank you


  2. #2
    Member
    Join Date
    Jul 2001
    Posts
    61
    Please, write the content of this line or better the whole listing.

  3. #3
    Registered User
    Join Date
    Feb 2001
    Posts
    13,039
    Hoi,

    got new PHP (of course) ?
    got an old script?

    For all vars that your script is sending, add lines like
    $submit = $_POST['submit']
    near the top of your file

    Musicman

  4. #4
    Junior Member
    Join Date
    Apr 2000
    Posts
    10

    Thank you ...its gone

    The Notice is gone. I added
    $submit = $_POST['submit']
    and it worked. Thanks a million.
    I will be asking for more help...later.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center