Form parsing -apprentice

From: Date: Thu, 17 Apr 2003 07:57:29 +0000
Subject: Form parsing -apprentice
Groups: php.general 
Request: Send a blank email to php-general+get-144236@lists.php.net to get a copy of this message
Hi, I'm just trying to pass information from a form and display the output. All I get is the message (No name submitted). Nothing seems to be passed. Please help this "Apprentice" ---------------------- <html> <head> <title>Before</title> </head> <body> <form action="after.php" method="post" name="testform" id="testform" enctype="multipart/form-data"> <input type="text" name="uname" size="25" maxlength="25"> <input type="submit" name="submit" value="submit"> </form> </body> </html> ---------------------- <html> <head> <title>After</title> </head> <body> <?php if(empty($uname)) { die("No Name submitted"); } else { echo $uname; } ?> </body> </html> __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com

« previous php.general (#144236) next »