runnerjp Posted February 17, 2009 Share Posted February 17, 2009 <?php foreach(explode("\n",$geturls['url1']) as $line) { print "/<a href=http://"'.$line.'"/>'.$line.'</a><br \>\n"; // this line here is'nt correct }?> Link to comment https://forums.phpfreaks.com/topic/145613-how-would-i-display-this-print-function-correctly/ Share on other sites More sharing options...
rhodesa Posted February 17, 2009 Share Posted February 17, 2009 <?php foreach(explode("\n",$geturls['url1']) as $line) { print "<a href=\"http://{$line}\">{$line}</a><br \>\n"; }?> Link to comment https://forums.phpfreaks.com/topic/145613-how-would-i-display-this-print-function-correctly/#findComment-764468 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.