Re: If statement question

From: Date: Mon, 26 Jun 2006 18:19:13 +0000
Subject: Re: If statement question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-238651@lists.php.net to get a copy of this message
On Mon, 26 Jun 2006 19:10:59 +0100, Alex Major <alex.major@allydm.co.uk> wrote: > Hi list. > Basically, I'm still learning new things about php and I was wondering if > things inside an if statement get 'looked at' by a script if the condition > is false. > For example, would this mysql query get executed if $number = 0 ? > > If ($number == 1) { > mysql_query($blah) > } NO! -- --------------------------------------------------------- Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática | '@' || 'unl.edu.ar'; Universidad Nacional | DBA, Programador, del Litoral | Administrador ---------------------------------------------------------

« previous php.general (#238651) next »