Re: PHP with MySQL built-in functions

From: Date: Mon, 07 Aug 2000 03:13:53 +0000
Subject: Re: PHP with MySQL built-in functions
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1811@lists.php.net to get a copy of this message
At 7:14 PM +0200 2000-08-05, Temuri Imnaishvili wrote:
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.
When you find that this query doesn't work, what does mysql_error() tell you? -- Paul DuBois, paul@snake.net

« previous php.db (#1811) next »