You are here: Re: Write to text file « PHP Programming Language « IT news, forums, messages
Re: Write to text file

Posted by Richard Quick on 05/27/05 18:51

<jcwmtl@hotmail.com> wrote in message
news:1117193572.836041.28080@z14g2000cwz.googlegroups.com...
> Thanks Richard.
> I know how to create a popup using js, but i'm uncertain as to how to
> combine that with php.
>

You should just be able to get PHP to generate the URL of the page you want
to appear in the pop up.

eg. if the page you want to display has the url:

www.mysite.com/page.php?query=123

and you have a javascript function called makepopup which takes a url as a
variable

Then you would put the following (or similar) in your html code:

makepopup('<?php echo $urlToVisit; ?>')

--
Richard Quick
http://www.chocolatemagazine.co.uk

 

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

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