If you are sending this as a query string to another page you want rawurlencode or urlencode rather than htmlspecialchars
brett king wrote:
Try using HTMLSPECIALCHAR() function.
$title = htmlspecialhtml($title);
-- Olwen Williams See my B&B site http://www.bandbclub.com and my new site http://www.handyman.co.nz - A virtual shed for real kiwi blokes.
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php