RE: [PHP-DB] incrementor in loop is not incrementing.. any thoughts?

2003-08-14 Thread Aaron Wolski
:02 AM To: Aaron Wolski Subject: RE: [PHP-DB] incrementor in loop is not incrementing.. any thoughts? Is that a copy/paste? You're showing newlines which I don't see in the pasted code ... -Original Message- From: Aaron Wolski [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9

[PHP-DB] incrementor in loop is not incrementing.. any thoughts?

2003-08-14 Thread Aaron Wolski
I have this: $threadQuery = db_query(SELECT id,type,colourID FROM kcs_threads WHERE id=.escapeValue($threadsResult[id])); for ($z=0;$threadResult = db_fetch($threadQuery);$z++) { echo $threadResult[colour]. .$z; } which is producing: 223 0 225 0 301 0 304 0 326 0