NEED HELP IN PHP PROGRAM FOR MANIPULATING SUBMITTED VALUES
Posted: Sat Feb 28, 2004 4:35 am
Hay, I am newbie in php program. I have written the following script which
expect to satisfy the manipulating Submitted values in the other script.
It is not passing the submitted values to other script of different page.
Fav.html
----------
<html><head><title>Your Favourates</title></head>
<body>
<form action="fav.php" method="post">
<b>Please Enter Your Name</b>
<input type="text" size="45" name="username"><br>
<input type="submit" value="Submit This Page">
</form>
</body></html>
now in fav.php i have written following script.
Fav.php
-----------
<html><head><title>Your Submission</title></head>
<body>
<?php
echo ("Your Name is $username");
?>
</body></html>
My Current Result is
-----------------------
Your Name is (Blank Display)
Why fav.html is not passing the value of $username to fav.php ?
Please help me....so as i can proceed further.
expect to satisfy the manipulating Submitted values in the other script.
It is not passing the submitted values to other script of different page.
Fav.html
----------
<html><head><title>Your Favourates</title></head>
<body>
<form action="fav.php" method="post">
<b>Please Enter Your Name</b>
<input type="text" size="45" name="username"><br>
<input type="submit" value="Submit This Page">
</form>
</body></html>
now in fav.php i have written following script.
Fav.php
-----------
<html><head><title>Your Submission</title></head>
<body>
<?php
echo ("Your Name is $username");
?>
</body></html>
My Current Result is
-----------------------
Your Name is (Blank Display)
Why fav.html is not passing the value of $username to fav.php ?
Please help me....so as i can proceed further.