You are here: Re: link target question « HTML « IT news, forums, messages
Re: link target question

Posted by don on 09/26/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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация