Ver Mensaje Individual
  #7 (permalink)  
Antiguo 30/06/2015, 15:01
Jotan32
 
Fecha de Ingreso: junio-2015
Mensajes: 16
Antigüedad: 8 años, 10 meses
Puntos: 0
Respuesta: Cambiarle el formato a la función now();

jajajaja, ya lo hice

Código PHP:
Ver original
  1. <?php
  2.               $wsql = "select * from usuarios";
  3.               $result = mysql_query($wsql,$link);//ataque a una tabla
  4.               echo mysql_error($link);
  5.               while($row = mysql_fetch_array($result)){//genera un arreglo
  6.               $fecha= date("F j, Y, g:i a", $row['Ult_Visita']);;
  7.              echo $fecha;
  8.               }
  9. ?>

y me arroja este error. Notice: A non well formed numeric value encountered in index2.php on line.....