$result=mysql_query("SELECT * FROM aprobacion_garantias WHERE num_auto='$txtauto'") or die("Error Mysql: ".mysql_error());