me too... John Nichel wrote:
Could one of the admins of this list take this email address off? Everytime I send an email to the list, I get one of these. Thanks. -------- Original Message -------- Subject: Delivery Status Notification (Failure) Date: Fri, 14 Feb 2003 08:01:31 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] ------------------------------------------------------------------------ Reporting-MTA: dns;mbla01.belair.nl Received-From-MTA: dns;mbla01.belair.nl Arrival-Date: Fri, 14 Feb 2003 08:01:30 ? Final-Recipient: rfc822;[EMAIL PROTECTED] Action: failed Status: 5.1.1 ------------------------------------------------------------------------ Subject: Re: [PHP] Simple PHP script From: John Nichel <[EMAIL PROTECTED]> Date: Thu, 13 Feb 2003 15:13:25 -0600 To: "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> Sigh.... if ( $_POST['submit1'] ) { echo ( "Hello $_POST['vname']" ); } http://www.php.net/manual/en/language.variables.scope.php http://www.php.net/manual/en/language.variables.external.php Poon, Kelvin (Infomart) wrote:Hi,
I am new to PHP and had just written a simple php script to get things
started. I have the following code:
<html>
<body>
<?php
if($submit1) {
echo "hello $vname";
} else {
?>
<form action="thispage.php" method=post>
<table>
<tr><td>Input yourname</td><td><input type=text name=vname></td></tr>
<tr><td colspan=2><input type=submit name=submit1></td></tr>
</table>
</form>
<?php
}
?>
</body>
</html>
So this page is suppose to display a input box and a submit button and once
you enter ur name and press the button, it should show Hello [ur name] and
the input box at the bottom of it and the button below and the process
continue.
I tried running it and inputted some text and pressed the button, and the
Hello [ur name] didn't show up, it just display an input box and the submit
button.
Can someone please help me?
Thanks a lot
Kelvin
-- Lucas Lain [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

