Re: Problem passing varibles
| From: | (Richard Lynch) | Date: | Wed, 12 Jul 2000 20:15:08 +0000 |
| Subject: | Re: Problem passing varibles | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6251@lists.php.net to get a copy of this message | ||
In article <45E43E08ACD7D311826C001083029A62311E57@ATGMAIL1>,
Timothy.Findlay@austrimtextiles.com.au (Timothy Findlay) wrote:
> I've got Nt4 with IIS4 and MySql and PHP4 installed, and I built up a html
> page, with a HTML form on it, when I hit the Submit button, it loads
> save_data.php which I use the $var1 $var $var3 etc. etc. as per my HTML
> Form.
>
> the prob. is the data doesn't get saved! I tried to print my sql statement
> out to the screen and it's empty, I figured not been a very good HTML coder
> I did something wrong, yet I was able to copy the php script tow Linux box
> with PHP & Mysql and it worked sweet.
You probably used php.ini-optimized as your base php.ini file.
One of the optimizations is to not define all those nice global variables
for you.
Read your php.ini file, and change the parts that talk about global
variables to "On".
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)