Simple one...

wxdqz

New Member
Hi.

I can't figure out why the following MySQL statement only brings back one row.
I've checked this with this line:
$i_total = mysql_num_rows($inst_result);
and it shows up in a later loop.

$inst_ids = "5,2,3,4";

$inst_sql = " SELECT i_name FROM cm2k_instruments WHERE i_id IN(\"$inst_ids\") ORDER BY i_id";


Am I missing something?

Cheers,
Ben
 
Back
Top