I have a problem reading out multiple rows that get returned from an SQLite 3 database. I tested my querys before and i know what the result should be. But i cant seem to figure out how to read these different lines/rows that get returned from this query on a PHP based webpage. I searched the web, including stackoverflew but i can't seem to find an anwser to this question :/ Any help would be great!
Regards
P.S. this is how i fetch my the multiple rows on my php page:
$ID[$i] = $dbase->querySingle("SELECT rowid FROM rules WHERE parameter".$i." = '$Model'");
querySingle-thing work? It looks like this query collects all ids from the rows which have "$Model" in one of theparameter*fields - is that correct? Is your problem that you have now that array of id's and don't know how to select the corresponding rows?