I\'ve seen this question asked a load of times, but they\'re all really long, and I just can\'t get my head around what they\'re doing ... So, could someone tell me how to g
let me preface this by saying it's a guess, as I NEVER use prepared statements...
typically you don't bind your return val, you do this
$status = $statement->execute( );
$resultArray = $statement->fetchAll( );
$statement->closeCursor( );
if (!is_array($resultArray)) {
return array();
}
return $resultArray[0]['returnid'];
take it with a grain of salt...