On Tue, 10 Jun 2003 21:14:52 +1000, Ben Houlton wrote:

>I've tried this code on a web server and it worked, but on my localhost server it did 
>not work. It just looped the "ADD RECORD" text (not including database infomation).
>My code is below:
><HTML>
>
><BODY>
>
><?php
>
>$register_globals;

It sounds like you have register_globals turned on on the "web server"
but off on the "localhost server".  The $register_globals line in your
code above does absolutely nothing.  I would recommend searching this
list for solutions.  To see for sure what the status of
register_globals is look at phpinfo() or simply cut and paste the code
below to phpinfo.php and run it.

-----phpinfo.php-----
<?php
phpinfo();
?>


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

Reply via email to