Hi,

One of the user's using the site that I work on put in some text containing a % character into a query that used quote_smart. It produced the mysql error Query is empty. I have since used ereg_replace to replace the % sign with the html equivalent. Just curious if there is a better way to do this. The site uses PHP 4.