Re: {PHPES} - Include Falido .
| From: | -AzTk- | Date: | Tue, 24 Jul 2001 13:27:21 +0000 |
| Subject: | Re: {PHPES} - Include Falido . | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-12490@lists.php.net to get a copy of this message | ||
Y si agregas un if??
-AzTk-
--- Web Proffecional - Admin <admin@webproffecional.com>
escribió: > Bueno hice un script estilo menu , uno hace click
sobre una
> letra y hace include de la letra.php , pero q pasa uando no
> seleccionas ninguna letra ? me da el siguiente error.
> Warning: Failed opening '.php' for inclusion
> (include_path='.:/usr/share/php') in
> /home/httpd/vhost/barrahome/html/recortes/A-Z.php on line 6
>
> yo se q hay una forma de hacer un else o if , pero no se como
> , aca les dejo el codigo para ver si me pueden ayudar.
>
> <? for($i=65;$i<91;$i++) { ?>
> <a
> href="<?=$PHP_SELF?>?letra=<?=chr($i)?>"><?=chr($i)?></a>
>
> <? } ?>
> <? include "$letra.php" ?>
>
_________________________________________________________
Do You Yahoo!?
Construye tu página personal en Yahoo! GeoCities. ¡Es fácil,
rápido y gratis! http://geocities.yahoo.com.mx