Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getPacienteNome($nomepaciente,$nmaepaciente){
- $stmt = self::$_db->prepare("SELECT * from paciente WHERE nomepaciente like ? AND nmaepaciente like ?");
- /*
- $stmt->bindParam(":nomepaciente",$nomepaciente, PDO::PARAM_STR);
- $stmt->bindParam(":nmaepaciente", $nmaepaciente, PDO::PARAM_STR);
- $stmt->execute();
- $res = $stmt->fetch(PDO::FETCH_ASSOC);*/
- return $stmt->execute(array($nomepaciente,$nmaepaciente));;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement