php form handling problems
Posted: Fri Nov 08, 2002 10:48 am
Hi, I'm running PHP 4.2.3 on Apache 2.0.43. All this runs on my Linux system. Everything goes well in the first try to ensure that all works ... phpinfo() displays the relevant webpage ... but the problem is when i try to submit a form to a php page, the php code cannot access the form controls. For example this is my code:
<input type = "text" name = "username" />
and when i submit the page back to itself (ie form.php)
print ("Hi");
print ("$username");
doesnt work ... only prints hi ... why ???? pls help thank you
<input type = "text" name = "username" />
and when i submit the page back to itself (ie form.php)
print ("Hi");
print ("$username");
doesnt work ... only prints hi ... why ???? pls help thank you