PHP with MySQL built-in functions
| From: | Temuri Imnaishvili | Date: | Sat, 05 Aug 2000 17:14:08 +0000 |
| Subject: | PHP with MySQL built-in functions | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1803@lists.php.net to get a copy of this message | ||
Hi,
To my greatest surprise, I've found out that simplest SQL query that uses MySQL built-in
function FROM_UNIXTIME() is not working from PHP3!
$SQL = "UPDATE AllUniques SET SQLDate = FROM_UNIXTIME(954724931) WHERE uid = 1";
$result = mysql_db_query($dbsel,$SQL);
I wonder, if there is a way to access MySQL internal functions from PHP3 scripts?
Temuri.