Re: cannot write to mySQL database

From: Date: Mon, 04 Mar 2002 18:54:09 +0000
Subject: Re: cannot write to mySQL database
References: 1 2 3 4 5 6 7  Groups: php.windows 
Request: Send a blank email to php-windows+get-12446@lists.php.net to get a copy of this message
Ok, making progress. My updated code is below. with full error checking, i get no errors on loading the page. I do get an error when i attempt to submit. It does not recognize $action as being a variable: [Mon Mar 04 13:46:33 2002] [error] PHP Warning: Undefined variable: action in c:\homepage\phptest\dataform2.php on line 10 This seems to be the root of the problem. If I enter a URL as http:/..../whatever.php?me=hello, shouldnt $me be a variable equal to the string "hello" in whatever.php? I cant get this to work. There seems to be some problem with my settings such that it doesnt recognize variables that arent defined explicitely (like $me="hello" in the code). Could there be some setting in an ini file or config file for apache that needs to be changed? ALMOST THERE (i think!). Dave

« previous php.windows (#12446) next »