Function within echo problem

Posted by user74283 on Stack Overflow See other posts from Stack Overflow or by user74283
Published on 2010-03-18T15:47:18Z Indexed on 2010/03/18 15:51 UTC
Read the original article Hit count: 444

Filed under:
|
|

Hi,

I have a slight problem with the echo statement outputting wrongly. Forexample when i do

echo "<div id=\"twitarea\">" . fetchtwitter($rss) . "</div>";

it displays function output but OUTSIDE of twitarea div. What is the cause of this behavior perhaps syntax?

thanks in advance

© Stack Overflow or respective owner

Related posts about php

Related posts about echo