note 52659 added to function.mysql-field-name
| From: | crap at anitechnic dot com | Date: | Mon, 09 May 2005 01:08:20 +0000 |
| Subject: | note 52659 added to function.mysql-field-name | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89135@lists.php.net to get a copy of this message | ||
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?
----
Manual Page -- http://www.php.net/manual/en/function.mysql-field-name.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52659
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52659&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52659&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52659&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52659&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52659&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52659&report=yes
Search -- http://master.php.net/manage/user-notes.php