On Fri, 2 Feb 2001 05:58, Karl J. Stubsjoen wrote:
> When I perform thi function:
> $new = htmlspecialchars("<a href='test'>Test</a>", ENT_QUOTES);
>
> I get the following error:
>
> Warning: Wrong parameter count for htmlspecialchars() in
> utility/HTMLFormObjects1-1.php on line 135
>
>
> Anyone know why?
What version of PHP are you using? From TFM:
Also note that the optional second argument was added in PHP 3.0.17 and PHP
4.0.3.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]