MySqli Prepared Statment Fetch Row
- by pws5068
I'm looking for an efficient way to select a specific row with a php prepared statement.
$iDB = new mysqliDB();
$stmt = $iDB->prepare($sql);
$stmt->bind_param('s',$searhStr);
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($objID,$typeID,$year,$updated);
// Now jump to row $rowNumber
echo("Obj ID = {$objID}");
Any suggestions?
Thanks!