note 33050 added to function.time
| From: | jose at todobaja dot com | Date: | Sun, 15 Jun 2003 05:16:51 +0000 |
| Subject: | note 33050 added to function.time | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50362@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.time.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33050
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33050&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33050&report=yes