Form variables not sent to mySQL problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bradendh@telus.net

    Form variables not sent to mySQL problem

    Hi All,

    Hopefully someone can help me out..

    Here's my setup: PHP5, mySQL, IIS6, Win2003
    I have no problems serving up PHP scripts, and I can access the DB.

    The problem I have is this.

    On pageA.php I have a form. I post this to pageB.php which adds a date
    variable and then is supposed to insert the form data (along with the
    date variable) into the DB.

    The problem is, none of the form variables are being send to the DB. My
    code was working fine on a different host(different platform config.)
    So I suspect that it is a config issues, but don't understand why the
    data from the form isn't being passed to the DB.

    Any help??

  • BKDotCom

    #2
    Re: Form variables not sent to mySQL problem

    echo mysql_error(); // ??
    echo 'some other useful debug info';

    Comment

    • micha

      #3
      Re: Form variables not sent to mySQL problem

      check the setting register_global s and read about it's meaning.



      micha

      Comment

      Working...