note 52659 deleted from function.mysql-field-name by derek
| From: | derek@php.net | Date: | Mon, 09 May 2005 02:24:49 +0000 |
| Subject: | note 52659 deleted from function.mysql-field-name by derek | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89142@lists.php.net to get a copy of this message | ||
Note Submitter: crap at anitechnic dot com
Reason: useless
----
hi all
if I run a query like
$sql = "SELECT user,time,task,DATE_FORMAT(startTime, '%W %T
%e/%c/%Y'),DATE_FORMAT(endTime, '%W %T %e/%c/%Y') FROM time WHERE
user='$usernum'";
then when I use mysql_field_name, it calls the fields startTime and endTime DATE_FORMAT(startTime,
'%W %T %e/%c/%Y') and DATE_FORMAT(endTime, '%W %T %e/%c/%Y')
... does anyone know how to do this without all the date format rubbish?