Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/11/2010, 14:06
acidlake
 
Fecha de Ingreso: noviembre-2010
Ubicación: /home/RD/Villa_Altagracia
Mensajes: 18
Antigüedad: 14 años, 3 meses
Puntos: 4
Respuesta: Cambiar El Formato De Una Variable!

podrias hacerlo de esta forma:
Código PHP:
Ver original
  1. while ($row=mysql_fetch_assoc($sql))
  2. {
  3. echo $row['campo_tipo_fecha']= sqlsrv_get_field($sql,7,[B]SQLSRV_PHPTYPE_STRING(SQLSRV_ENC_CHAR)[/B]);
  4.  
  5. }