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 ??? Quote 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] Quote Link to comment https://forums.phpfreaks.com/topic/32537-print-problem-please-help/#findComment-151327 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.