On Wednesday, June 26, 2002, at 01:20  PM, Scott Fletcher wrote:

> When I use the hyperlink, "test.php?data=yes" and I go to this page,
> test.php but there is no data in this variable, $data.  So, the web 
> page I
> have, most of them are all thrown off becuase of this.  I use PHP 
> version
> 4.2.1.  Is there a bug in this PHP version???  Or some changes in PHP 
> that
> I'm not aware of?  Let me know!

Use $_GET['data'], not $data.  Or turn register_globals = on in your 
php.ini.

Get to know your php.ini, and read the release notes for any software 
you upgrade -- this is mentioned in the PHP 4.1.x release notes if you 
want to read them for yourself.


Erik




----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to