[PHP] Re: Variables are working!

2004-01-21 Thread Kaushan
Thanks for helping me... Now its working perfectly. Problem was with globals as you all pointed-out. PHP Manual pages at http://www.php.net/manual/en/language.variables.predefined.php was very helpful overcome this problem (thanks alot Ben...). Kaushan -- PHP General Mailing List

[PHP] Re: Variables not working!

2004-01-19 Thread Ben Ramsey
Try using $_POST['fname'] instead of $fname. This just means that register_globals is probably set to off in php.ini, which is the recommended setting. Take a look at the section on predefined variables in the PHP manual for more on this:

RE: [PHP] Re: Variables not working!

2004-01-19 Thread Jay Blanchard
[snip] Try using $_POST['fname'] instead of $fname. [/snip] Or $_GET['fname'] depending on your form method -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Variables not working!

2004-01-19 Thread Chris Boget
[snip] Try using $_POST['fname'] instead of $fname. [/snip] Or $_GET['fname'] depending on your form method Or even $_REQUEST['fname'], which doesn't care about which method is specified in the form. :p Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: