I'm using PDO prepared statement. Here in the code i use variable res
for first prepare statement & operations.
$res=$db->prepare("//code//");
$res->execute($array);
$count=$res->rowCount();
$res=$db->prepare("//code//");
$res->execute($array);
$res->fetch();
Will it create problems if i use reuse the variable for another prepared statement? Is it a wrong practice and should i use another variable for other statement?