Thanks for the Heads up, I didn't know I was at risk. The only string related code i've got left is $newstring = $rows['content'] ; $stringlength = strlen($newstring); $maxlength = "1542"; if ($stringlength >= $maxlength) { $ending = "...<br/><br/> Read More >>"; } else { $ending = ""; } mainbox($rows['title'],substr($newstring, 0, 1542) . $ending ,$rows['author']); } Iby Newb-Man - Support
I thank you for you're concerne and help but after looking back at it, I discovered that my code runs perfectly even with this problem so thank you but you can call this resolved.by Newb-Man - Support
The source code was: Hey <font face="courier new"><b>Jude</b></font> But What I saw in the browser was: Hey <font face="courier new"><b>Jude</b></font> Thank You for all you're help, I can use this ! Edited 1 time(s). Last edit at 01/02/2008 06:13PM by Newb-Man.by Newb-Man - Support
No it dosn't seem to be mySQL's fault. I have no ideaby Newb-Man - Support
Thought I'd add Magic_Quotes is OFFby Newb-Man - Support
// replace this with the path to the HTML Purifier library require_once 'htmlpurifier/library/HTMLPurifier.auto.php'; $config = HTMLPurifier_Config::createDefault(); // configuration goes here: $config->set('Core', 'Encoding', 'UTF-8'); // replace with your encoding $config->set('HTML', 'Doctype', 'XHTML 1.0 Transitional'); // replace with your doctype $purifier = neby Newb-Man - Support
I know this is probably a very simple question but if I put a string like Hey <font face="courier new"><b>Jude</b></font> It returns Hey <font face="courier new"><b>Jude</b></font> How do I maintain the double quotes?by Newb-Man - Support