By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,628 Members | 1,880 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,628 IT Pros & Developers. It's quick & easy.

Form variables not sent to mySQL problem

P: n/a
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??

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
echo mysql_error(); // ??
echo 'some other useful debug info';

Jul 17 '05 #2

P: n/a
check the setting register_globals and read about it's meaning.


Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.