hi......
I have 2 button.
I want each of them submit form and when open a.php give $id to that page.
for example.
if $id =20: (../a.php?20 ).
Code:<html> <head> <meta http-equiv="Content-Language" content="en-us"> <title>Untitled 1</title> </head> <body> <form method="post" action="a.php"> <input name="Button1" type="button" value="button1" /><input name="Text1" type="text"></form> <p><input name="Button2" type="button" value="button2" /><input name="Text2" type="text"></p> </body> </html> <?php $id=20; ?> //../a.php?id=20


Reply With Quote
