Reply to Re: URL

Your name:

Reply:


Posted by Janwillem Borleffs on 04/26/06 23:32

Shelly wrote:
> I have tried $txt1, $_POST['txt1'] and $_GET['txt1']. What I want
> to generate is a URL of either
>
> http:/www.foo.com?var1=something&var2=somethingelse
> or
> http:/www.foo.com?var1=something&var2=somethingelseagain
>
> depending upon whether or not txt1 is empty and I want to do this
> within the <body></body> section.
>

When you want to react on what the user has entered in the text1 input field
(I assume this is an input field) before the info is submitted to the
server, PHP can't help you and you will have to resort to some client-side
technique, like JavaScript.


JW

[Back to original 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

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