Re: Help! what am i doing wrong?
| From: | idban secandri | Date: | Thu, 03 Aug 2000 22:03:21 +0000 |
| Subject: | Re: Help! what am i doing wrong? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10037@lists.php.net to get a copy of this message | ||
On Thu, Aug 03, 2000 at 02:25:52PM -0700, Kris Dahl wrote:
> > <?php
> > if ($nombre<>"" and $direccion<>"" and
> > $telefono<>"")
> > {
Kris Dahl said the truth.
eh btw you have much if :) make it simple way like...
if ((!$nombre) && (!$direccion) && (!$telefono))
{ echo"some field empty"; }
else { execute your code here.... }
--
better the devil you know than the devil you don't know
http://php.klik.or.id