Re: two questions on serverside validation
| From: | Marc Guay | Date: | Wed, 25 Aug 2010 15:06:40 +0000 |
| Subject: | Re: two questions on serverside validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307661@lists.php.net to get a copy of this message | ||
> function html($text)
> {
> return htmlentities($text, ENT_QUOTES, 'UTF-8');
> }
>
> function htmlout($text)
> {
> return html($text);
> }
Possibly irrelevant, and definitely not related to your questions, but
is it just me or is htmlout() a useless function? Why not just call
html() directly?