|
Posted by don on 09/27/09 11:16
Well - I'm writing the php code now to insert the second html page right
back into the first page, but my next question is if the second page has
another submit button, how do I deal with two submit buttons? The second
page is going to be a <form> for the user to submit and get processed by a
third page......
"Mark Parnell" <webmaster@clarkecomputers.com.au> wrote in message
news:1nxv53pk2jo3.l9p2zva7s7bw$.mark@markparnell.com.au...
> Previously in alt.html, Mark Parnell <webmaster@clarkecomputers.com.au>
> said:
> > 1) Reload the page, using server-side script to insert the additional
> > content.
>
> don <don@panix.com> said (in email):
> > what would this link line look like?
>
> OTTOMH, something along these lines:
>
> <a href="purchase.php?action=buy">buy</a>
> ...
> <div>
> <?php if ($_GET['action'] == 'buy') then {
> echo("<p>Buy stuff, or whatever you want to show here</p>");
> } ?>
> </div>
>
> BTW: In future, please reply to the group, so everyone gets the benefit
> of any replies.
>
> --
> Mark Parnell
> http://www.clarkecomputers.com.au
> alt.html FAQ :: http://html-faq.com/
[Back to original message]
|