Jump to content

[SOLVED] open new window


justAnoob

Recommended Posts

I have an echo statement that displays a picture.

<?php
echo '<img src="' . $row['imgpath2'] . '" width="150" alt="" />';
?>

 

What I would like to is have the picture clickable(no problem there) and then open itself up a new popup window with a bigger size of the picture. How would I go about opening the new window. I do not want it to be a new full size browser window, just like an alert window that is big enough for the picture. Maybe a width of 600 or so.

Link to comment
https://forums.phpfreaks.com/topic/160404-solved-open-new-window/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.