Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/09/2005, 05:05
Avatar de Seppo
Seppo
 
Fecha de Ingreso: marzo-2005
Ubicación: Buenos Aires, Argentina
Mensajes: 1.284
Antigüedad: 19 años, 1 mes
Puntos: 17
A mi me anda sin problemas...
te cpaso el ejemplo q usé yo y me anduvo
Código PHP:
<?
function gestor($error){
    echo 
str_replace("a","",$error);
}
mysql_query("select ...") or die(gestor(mysql_error())); 
?>
La respuestas fue "You hve n error in your SQL syntx; check the mnul tht corresponds to your MySQL server version for the right syntx to use ner '..' t line 1"