Forum Moderators: coopster
The string retreived would look like this:
Text Text Text Text Text Text <?php echo "Text "; ?> Text Text Text Text
Etc.
How would I do this? Thanks!
[edited by: Relish at 9:11 pm (utc) on June 18, 2008]
you'd have to remember to return the characters back to what that were in the first place though, before you saved them in the database. (you probably changed '<', '>' and the like into the numbered equivalents.)
<?php ob_start(); ?> and this at the very end
<?php ob_end_flush(); ?> everything between those two will be buffered, run in the normal way, and then outputted at the end.
if it doesn't work have a look at the source code. if you see any of the php code that was supposed to be running then you'll know that it hasn't written to the page correctly (probably something to do with the < and > signs when you pulled it out of the database)