Fw: [PHP-DB] Re: help w/ multidementional array in mysql

2004-02-25 Thread PHELPS, SCOTT
Sorry, I didn't cut that right: Here it is: $value) { if ($key & 1) { echo "".$value['lastname'].", ".$value[firstname].""; } else { echo ""

Re: [PHP-DB] Re: help w/ multidementional array in mysql

2004-02-25 Thread PHELPS, SCOTT
On Wed, 25 Feb 2004 14:56:53 -0400 Luis M Morales C <[EMAIL PROTECTED]> wrote: Thank you so much Justin and Luis. You guys are awesome. You both helped me tremendously! BTW, I figured out a way to make the tables show the $value results in alternating colors. I just use a bitwise AND to tes

Re: [PHP-DB] help w/ multidementional array in mysql

2004-02-25 Thread PHELPS, SCOTT
Sorry for accidentally posting twice: I wanted to point out a typo. At the bottom I meant "advancing the array" not "table" in regards to next() On Wed, 25 Feb 2004 11:12:10 -0600 "PHELPS, SCOTT" <[EMAIL PROTECTED]> wrote: > Thanks in advance for reading

[PHP-DB] help w/ multidementional array in mysql

2004-02-25 Thread PHELPS, SCOTT
Thanks in advance for reading this: I am trying to take a query based on user input and selectively output fields to a table. Heres the query code: <<< snip - snip>>> $query_result = mysql_query($query); while ($field = mysql_fetch_array($query_result)) { $returned_rows =

[PHP-DB] help w/ multidementional array in mysql

2004-02-25 Thread PHELPS, SCOTT
Thanks in advance for reading this: I am trying to take a query based on user input and selectively output fields to a table. Heres the query code: <<< snip - snip>>> $query_result = mysql_query($query); while ($field = mysql_fetch_array($query_result)) { $returned_rows =