phuzzzed Posted May 18, 2009 Share Posted May 18, 2009 i am modifying a template and i need to do something as follows: $variable = the results of some php script.....ie $variable = print"<div id='comment'><div id='commentTop' class = 'clearfix'><div id = 'commentEmail'>". $row["email"]."</div><div id = 'commentTime'>".$row["time"]."</div></div><br>" ; print $row["Comment"]."<br><br></div>"; Link to comment https://forums.phpfreaks.com/topic/158535-noob-question/ Share on other sites More sharing options...
Ken2k7 Posted May 18, 2009 Share Posted May 18, 2009 Um... I think you want ob_start and ob_get_contents. Link to comment https://forums.phpfreaks.com/topic/158535-noob-question/#findComment-836167 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.