note 33050 deleted from function.time by sp
| From: | sp@php.net | Date: | Sun, 15 Jun 2003 10:17:05 +0000 |
| Subject: | note 33050 deleted from function.time by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-50368@lists.php.net to get a copy of this message | ||
Note Submitter: jose@todobaja.com
----
cuando usen la funcion unix_timestamp como en el cuery de abajo
$res = mysql_query('select unix_timestamp(fecha), indice from sub_articulos where activo =
1');
No se les olvide que el arreglo asociativo que devuelve
$row = mysql_fetch_array($res)
tendra el valor de columna $row["unix_timestamp(fecha)"]
es decir el nombre del campo fecha en el arreglo asociativo $row cambiara por unix_timestamp(fecha)
José Magaña M.
www.todobaja.com