Modernvox Posted January 13, 2010 Share Posted January 13, 2010 Hi guyz. Just wandering how i would open these lkinks in a new window? echo "<a href=\"$url{$post[1]}\">{$post[2]}<font size=\"3\">{$post[3]}</a><br />"; print "<BR />\n"; Thanks in advance guyz Link to comment https://forums.phpfreaks.com/topic/188284-open-link-in-a-new-window-when-you-have-a-few-variables-together/ Share on other sites More sharing options...
premiso Posted January 13, 2010 Share Posted January 13, 2010 echo "<a href=\"$url{$post[1]}\" target=\"_blank\">{$post[2]}<font size=\"3\">{$post[3]}</a><br />"; Link to comment https://forums.phpfreaks.com/topic/188284-open-link-in-a-new-window-when-you-have-a-few-variables-together/#findComment-993988 Share on other sites More sharing options...
Modernvox Posted January 13, 2010 Author Share Posted January 13, 2010 echo "<a href=\"$url{$post[1]}\" target=\"_blank\">{$post[2]}<font size=\"3\">{$post[3]}</a><br />"; Thank you premiso. I guess I asked the wrong question as I tried the mod but just realized i should be opening a new window from the drop down form correct? Like such: <form name="" action="search.php" target="windowName" method="post" onsubmit="window.open('', this.target, 'dialog,modal,scrollbars=no,resizable=no,width=450,height=600,left=362,top=284');"> Can I just open a entire window or do i need to input width, height etc...? Thanks again. Link to comment https://forums.phpfreaks.com/topic/188284-open-link-in-a-new-window-when-you-have-a-few-variables-together/#findComment-993990 Share on other sites More sharing options...
Modernvox Posted January 13, 2010 Author Share Posted January 13, 2010 echo "<a href=\"$url{$post[1]}\" target=\"_blank\">{$post[2]}<font size=\"3\">{$post[3]}</a><br />"; haha, I'm batting 0 this week. I seem to be second guessing myself. Your answer is what i needed, thanks again Premiso. Take Care until next time:-) Link to comment https://forums.phpfreaks.com/topic/188284-open-link-in-a-new-window-when-you-have-a-few-variables-together/#findComment-993994 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.