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
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:
[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
[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:
4 matches
Mail list logo