note 78068 added to function.pg-prepare

From: Date: Wed, 26 Sep 2007 21:14:11 +0000
Subject: note 78068 added to function.pg-prepare
Groups: php.notes 
Request: Send a blank email to php-notes+get-130808@lists.php.net to get a copy of this message
I had some problems with this function. When you use pg_prepare() with a function like date_trunc('day', $1) you need to specify the data type. The solution was use the Pear MDB2 but with some changes in code. The original code try to use pg_prepare() too, with errors. ---- Server IP: 200.185.109.13 Probable Submitter: 200.184.42.65 ---- Manual Page -- http://www.php.net/manual/en/function.pg-prepare.php Edit -- https://master.php.net/note/edit/78068 Del: integrated -- https://master.php.net/note/delete/78068/integrated Del: useless -- https://master.php.net/note/delete/78068/useless Del: bad code -- https://master.php.net/note/delete/78068/bad+code Del: spam -- https://master.php.net/note/delete/78068/spam Del: non-english -- https://master.php.net/note/delete/78068/non-english Del: in docs -- https://master.php.net/note/delete/78068/in+docs Del: other reasons-- https://master.php.net/note/delete/78068 Reject -- https://master.php.net/note/reject/78068 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130808) next »