-
Hello,
I am creating a photo gallery and if somebody selects a picture, I would like a separate window to popup with a the picture (but bigger!)
A) Can this be done with PHP? I will be linking to a MySQL Database
B) If so, how!
Have a great holiday!!
-Keith
-
Eh
2 ways
When you link do
Code:
<a href="sdf.com" target=_new>blah</a>
or you could use simple javascript.
Hope this helps
-
just a quick note...
PHP is a server-side language, a popup window is client-side (that means it happens on the client's computer), and therefore a clientside scripting language like JavaScript would have to be utilized
-------------------
SitePoint Community Advisor
myPHPhost.com: when you want something MORE in a host