htmlspecialchars

From: Date: Thu, 28 Sep 2000 05:13:13 +0000
Subject: htmlspecialchars
Groups: php.general 
Request: Send a blank email to php-general+get-17860@lists.php.net to get a copy of this message
Hey, I can't seem to get the htmlspecialchars() fuction to work, I am passing a name from a form field ( Name ) that may contain special characters like the name O'Conner etc.. I have read the manual and as far as I can tell this should work? $Name = htmlspecialchars($Name, ENT_QUOTES); this is the error output: Warning: Wrong parameter count for htmlspecialchars() in... strange I see 2 params in the above fuction call and this fuction only takes upto 2 params??? $Name most definatly contains a valid string hmm... Any ideas people? Regards, Joseph

« previous php.general (#17860) next »