Jump to content

echo row in new window


justAnoob

Recommended Posts

i think i'm close. what i'm looking to do is have a link named 'watch' , when clicked a new window will pop up to display

$row['video_loc']

the 'watch' link is not showing up. it just shows two of my $row['video_loc'] records from the db. any ideas?

echo "<a href=\"{$row['video_loc']}\" onClick=\"window.open('showimage.php?loc={$row['video_loc']}', 'window_name', 'width=900'); return false\">Watch</a>";

Link to comment
https://forums.phpfreaks.com/topic/191302-echo-row-in-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.