justAnoob Posted February 8, 2010 Share Posted February 8, 2010 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 More sharing options...
justAnoob Posted February 8, 2010 Author Share Posted February 8, 2010 oh yeh, what i forgot to mention is that $row['video_loc'] is an embed code for a video. So what I'm looking for is this A link called 'watch' -----> which opens a new window which would display $row['video_loc'] which is the embed code. Link to comment https://forums.phpfreaks.com/topic/191302-echo-row-in-new-window/#findComment-1008655 Share on other sites More sharing options...
justAnoob Posted February 9, 2010 Author Share Posted February 9, 2010 I searched all afternoon, and still can't find an answer. Anyone out there got any ideas? Link to comment https://forums.phpfreaks.com/topic/191302-echo-row-in-new-window/#findComment-1009238 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.