Re: ODBC_PHP4

From: Date: Wed, 21 Jun 2000 16:47:42 +0000
Subject: Re: ODBC_PHP4
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-549@lists.php.net to get a copy of this message
> for ($p=1; $p=10; $p++){ Try: for ($p=1; $p<10; $p++){ The centre clause condition of the ``for'' must be true in order for the constuct to loop. If $p is set to 1 initally then the exit condition of the loop will be true immediately and the loop will end before it begins! David.

« previous php.db (#549) next »