RE: [PHP-DB] Strange Problem

From: Date: Wed, 25 Oct 2000 19:01:42 +0000
Subject: RE: [PHP-DB] Strange Problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-3884@lists.php.net to get a copy of this message
Make some changes to <form> Make it: <form method=get action="<?=$PHP_SELF?>"> Since you never defined <form> this is not working like you are expecting it to. Jason Stechschulte jpstech@nc.edu -----Original Message----- From: True Software Solutions Private Limited [mailto:info@truesoft.net] Sent: Wednesday, October 25, 2000 12:11 PM To: php-db@lists.php.net Subject: [PHP-DB] Strange Problem Dear Friends, I have just started working on PHP, and am facing a strange problem, I tried to run a small application : - ********************** <html> <form> Please enter your user name :<br> <input type=text name=name> <input type=submit value="Submit Data"> </form> <? echo("Welcome "); echo($name); ?> </html> ********************** Now, it echo's the line "Welcome " but $name never gets printed. Please try to run this script on you system and see if you also get the same problem. I will appriciate if anyone can help it out (I am using PHP 4.0 with Microsoft Personal Web Server). Best Regards, Ashish Chamoli True Software Solutions Private Limited 515, Suneja Tower - II, 12 District Centre Janakpuri, New Delhi - 110058 (India) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#3884) next »