Is it possible to use an array in the BindParam();? i mean like this:
$stmt = $this->Db->prepare("INSERT INTO test (name,age) VALUES (:name,:age)");
$stmt->BindParam(array(":name"=>"michael",
":age"=>"21"
));
$stmt->execute();
OR Do you have to bind them 1 by 1 like:
$stmt->BindParam(":name","Michael");
$stmt->BindParam(":age","21");
$stmt->execute();