Re: Problem creating array from MySql query
| From: | Leif K-Brooks | Date: | Mon, 17 Feb 2003 16:07:43 +0000 |
| Subject: | Re: Problem creating array from MySql query | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135847@lists.php.net to get a copy of this message | ||
I believe I've spotted your problem:
for ($i=0; i <$count;$i++) {
You left the $ out. It's looking for a constant named i, which doesn't exist.
Janyne Kizer wrote:
I'm not sure. It sits and spins. If I go to view -> source that doesn't yield any additional information. We are trying to build the array and then use in_array to handle the data appropriately. Rick Emery wrote:-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.what times out? The query? rick "People will forget what you said. People will forget what you did. But people will never forget how you made them feel." ----- Original Message ----- From: "Janyne Kizer" <janyne_kizer@ncsu.edu> To: "Rick Emery" <remery@emeryloftus.com>; <php-general@lists.php.net> Sent: Monday, February 17, 2003 9:51 AM Subject: Re: [PHP] Problem creating array from MySql query No error. It just times out.