Form variables not sent to mySQL problem

This is a discussion on Form variables not sent to mySQL problem within the PHP Language forums, part of the PHP Programming Forums category; Hi All, Hopefully someone can help me out.. Here's my setup: PHP5, mySQL, IIS6, Win2003 I have no problems ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-21-2005
bradendh@telus.net
 
Posts: n/a
Default 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??

Reply With Quote
  #2 (permalink)  
Old 04-21-2005
BKDotCom
 
Posts: n/a
Default Re: Form variables not sent to mySQL problem

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

Reply With Quote
  #3 (permalink)  
Old 04-22-2005
micha
 
Posts: n/a
Default Re: Form variables not sent to mySQL problem

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

http://www.php.net/register_globals

micha

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0