how to pass values from one page to another
Posted: Mon Apr 03, 2006 5:23 am
hi !
I am developing web pages in PHP.. where I have to send the some variable to one page to another.
do u know, how to write the code?
I passed the ID from first page thrugh the URL like <a href=\"naya4.php?name=" .$row['Name'] . "\">
my second page code looks like this
<form name="input" action="121.php">
Username:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>
nw, I have to transfer varaible from second page to third page.
I heard, I shld use hidden text box, I am not able to write the code..please help to write code for 2nd and 3rd page.
Please help.
thanks
I am developing web pages in PHP.. where I have to send the some variable to one page to another.
do u know, how to write the code?
I passed the ID from first page thrugh the URL like <a href=\"naya4.php?name=" .$row['Name'] . "\">
my second page code looks like this
<form name="input" action="121.php">
Username:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>
nw, I have to transfer varaible from second page to third page.
I heard, I shld use hidden text box, I am not able to write the code..please help to write code for 2nd and 3rd page.
Please help.
thanks