Re: Preguntar si se posteo una variable
| From: | Fran Herrera | Doble W | Date: | Sat, 07 Jul 2007 11:05:29 +0000 |
| Subject: | Re: Preguntar si se posteo una variable | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-61056@lists.php.net to get a copy of this message | ||
Nahuel Garcia escribió:
Vamos! Gracias Luis ""Luis Vega"" <fodsite@gmail.com> escribió en el mensaje news:49f289f30707061251u7811b74ap4b4393f579743ab2@mail.gmail.com... El 6/07/07, Nahuel Garcia <nhlgrc@adinet.com.uy> escribió:$id=@$_POST['id'];$id=$_POST['id']; Esto me da error si no le posteo 'id', pero en ocasiones no se la posteo como evito que me aparezca el error?Podrias probar con: if (isset($variable)){... . .}-- PHP Spanish Localization Talk Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpTambién puedes probar con: