Re: Preguntar si se posteo una variable

From: Date: Fri, 06 Jul 2007 19:58:43 +0000
Subject: Re: Preguntar si se posteo una variable
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-61055@lists.php.net to get a copy of this message
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']; > 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.php > > -- Luis Vega M. Linux Registered User #356394 - counter.li.org Sitio Personal: http://fodsite.wordpress.com Green Day: http://www.greendayfod.net <fodsite AT gmail DOT com>

« previous php.general.es (#61055) next »