Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/01/2006, 09:39
Avatar de Quest
Quest
 
Fecha de Ingreso: diciembre-2002
Ubicación: Santiago
Mensajes: 129
Antigüedad: 21 años, 4 meses
Puntos: 2
o.

$fecha = explode("-", $variable_fecha);
$orden = array_reverse($fecha);
$nueva_fecha = implode("-", $orden);


$sql = mysql_query("insert into tabla values ('$nueva_fecha')",$link);

saludos.
__________________
http://victorsanmartin.com
Web Developer
http://www.guiasitios.cl