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]
|