![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/07/2013, 10:34
|
![Avatar de Italico76](http://static.forosdelweb.com/customavatars/avatar175649_11.gif) | | | Fecha de Ingreso: abril-2007
Mensajes: 3.303
Antigüedad: 17 años, 10 meses Puntos: 292 | |
Respuesta: No funciona if en una funcion
Para eso existe un tipo de dato especifico: Boolean
Código PHP:
Ver original$_bien = True; // suponte if ($_bien){ // todo Ok .. }else // no fue OK .. }
http://php.net/manual/es/language.types.boolean.php
__________________ Salu2! |