Re: ?Podeis_corregirme_el_csdigo?
| From: | Enrique Herrera Noya | Date: | Sat, 24 Nov 2001 04:54:24 +0000 |
| Subject: | Re: ?Podeis_corregirme_el_csdigo? | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-15974@lists.php.net to get a copy of this message | ||
veamos
dos opciones:
if(!$contERR):
return 1;
else:
return 0;
endif ;
(pienso que eso te falto);
if(!$contERR) {
return 1;
} else {
return 0;
}
estas aprendiendo???
Andrés Ferrando wrote:
> > > if(!$contERR)
> > > return 1;
> > > else
> > > return 0;
> >
> > donde estan los { } del if ?
> >
> son opcionales ...
>
> --
> Andrés Ferrando <pruna@sinectis.com.ar>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com