Quote:
Originally Posted by kh99
You can't echo your html, you have to set $output. In your code I think you just have to change "echo" to "$output .= ", like:
Code:
$output .= "<a href='{$row['url']}'><img src='{$row['image_path']}' /></a><br/>";
|
Thanks... That got them out of the header but they aren't appearing in the PHP Widget Box either
Nevermind!!! That worked!!! Missed the "=" when I copy and pasted...
Thanks a bunch!!!
--------------- Added [DATE]1345910120[/DATE] at [TIME]1345910120[/TIME] ---------------
Quote:
Originally Posted by kh99
You can't echo your html, you have to set $output. In your code I think you just have to change "echo" to "$output .= ", like:
Code:
$output .= "<a href='{$row['url']}'><img src='{$row['image_path']}' /></a><br/>";
|
On that same line I tried to add standard html code to open in a new window
Code:
<a href='{$row['url']}'" target="_blank">
but it didn't fly, got a syntax error.
What did I do wrong?