Re: Re: ECHO $variable
| From: | Niel Archer | Date: | Sun, 08 Oct 2006 06:45:02 +0000 |
| Subject: | Re: Re: ECHO $variable | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42508@lists.php.net to get a copy of this message | ||
Hi
> The database part of this is that I just retrieve $saved_message_title
> from mySQL and thought it was already escaped and am not sure what went
> wrong with the ECHO
That doesn't make it a DB question. Not even close. This list is for
matters *directly* concerning DB problems.
replace:
<?echo $saved_message_title;?>
with:
<?echo htmlentities($saved_message_title);?>
Niel