note 45058 added to function.mysql-fetch-row
| From: | php-general at lists dot php dot net | Date: | Tue, 24 Aug 2004 17:53:08 +0000 |
| Subject: | note 45058 added to function.mysql-fetch-row | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75214@lists.php.net to get a copy of this message | ||
"Maybe worth pointing out that all the fields returned by this (and other?) calls are returned
with type string."
So is there a more efficient implementation for this:
<?php
$Fields = mysql_fetch_assoc($Result);
$Date = strtotime($Fields["date"]);
?>
----
Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-row.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45058
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45058&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45058&report=yes
Search -- http://master.php.net/manage/user-notes.php