Using prepare and execute with NULLS and the / wildcard

From: Date: Tue, 27 May 2003 08:25:07 +0000
Subject: Using prepare and execute with NULLS and the / wildcard
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5607@lists.php.net to get a copy of this message
I have the following; $data = array($id,$infile,$file_type,"NOW()",$notes ); $stmt = $db->prepare("INSERT INTO SQL_UPLOAD_INFO_T VALUES(?,?,?,/,?)"); I know I cant rewrite the statement to be INSERT INTO SQL_UPLOAD_INFO_T VALUES(?,?,?,Now(),?)"); And adjusting the array above but I would like to get this working. db is MySql Any suggestions?

« previous php.pear.general (#5607) next »