PunjabHaker Posted January 2, 2007 Share Posted January 2, 2007 [code]print "<a href='#' onclick="."window.open('download.php?id=$id','','width=500, height=400');return false"." title='$title'>$title</a>"; [/code]where i'm wrong ?i'm trying to open new link but it doesn't work.please help ??? Link to comment https://forums.phpfreaks.com/topic/32537-print-problem-please-help/ Share on other sites More sharing options...
wildteen88 Posted January 2, 2007 Share Posted January 2, 2007 use heredoc:[code]print <<<HTML<a href="#" onclick="window.open('download.php?id=$id','','width=500, height=400');return false" title="{$title}">{$title}</a>HTML;[/code] Link to comment https://forums.phpfreaks.com/topic/32537-print-problem-please-help/#findComment-151327 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.