Ver original$consulta = "SELECT * FROM tabla WHERE param1 = '$param1' AND param2 = '$param2' AND param3 = '$param3' ";