1 message in com.mysql.lists.mysqluse of MySQL functions in PHP scripts
FromSent OnAttachments
Temuri Imnaishvili05 Aug 2000 07:06 
Subject:use of MySQL functions in PHP scripts
From:Temuri Imnaishvili (Temu@omik.org)
Date:08/05/2000 07:06:57 AM
List:com.mysql.lists.mysql

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.