note 15062 added to ref.ibase.php

From: Date: Sun, 26 Aug 2001 15:53:37 +0000
Subject: note 15062 added to ref.ibase.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-17171@lists.php.net to get a copy of this message
I'm installed PHP 4.0.6 Running script <?php .... $stmt="SELECT * FROM TABLE WHERE DT>'TODAY'-24"; $sth = ibase_query ($db, $stmt,$res); ?> PHP Warning: Dynamic SQL Error SQL error code = -206 Column unknown TODAY Not understand, but replace " -> ' <?php .... $stmt='SELECT * FROM TABLE WHERE DT>"TODAY"-24'; $sth = ibase_query ($db, $stmt,$res); ?> PHP Warning: InterBase: Dynamic SQL Error expression evaluation not supported Why ????? This script absolutly worked in php4.0.4pl1 http://www.php.net/manual/en/ref.ibase.php

« previous php.notes (#17171) next »