RE: [PHP-ES] formulario y botón de 'volver'
| From: | Javier | Date: | Tue, 25 Feb 2003 18:23:09 +0000 |
| Subject: | RE: [PHP-ES] formulario y botón de 'volver' | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-33022@lists.php.net to get a copy of this message | ||
On 25/02/2003 at 18:19 Fernando wrote:
>
><?php
> ///Funcion para chackear si una cadena esta vacia ...
> function check_empty($cad)
> {
> if ($cad =="" | ord($cad)== 160 )
> {
> return true;
> } else{
> return false;
> }
>
> }
Me encantaria saber porque han hecho esta funcion cuando podrian haber
usado la funcion strlen......
Hay alguna causa que yo desconozco ??
<jl>