in reply to What do i need to read to ..
You need to make the query fetching multiple id's, right? In this case, use the IN syntax of SQL, like so:... AND (Bug.ixBug = $args)");
Note that this is completely unrelated to using fetchrow_* or fetchall_*. I'm not sure, what your problem with them (the functions) is. fetchrow fetches one row, so you need to loop over the table. fetchall fetches all rows in one go.... AND (Bug.ixBug IN (23, 45, 3564)");
|
|---|