Page is a not externally linkable
RichtorScript - 12:33 am on May 4, 2006 (gmt 0)
I need to pass a php variable to a pop-up opened using javascript. $picone1 is a pic name ramdomly selected from a mysql database, I then use $picone1 to display a thumbnail pic which is a link to a pop up page which shows a larger version of that pic. Here's what I have on the main page; On viewpic.php, I simply have this; I'm sure it's probably a tad more complicated then that. It's not working, and any help would be much appreciated
Here's an easy one, or at least I think it should be.
<a href=# onclick=window.open('viewpic.php?piconel','newpage',width=350,height=350'); return false> </a>
<img src=$piconel>