note 120093 added to function.db2-prepare
| From: | agr dot valayam at gmail dot com | Date: | Thu, 27 Oct 2016 12:08:04 +0000 |
| Subject: | note 120093 added to function.db2-prepare | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206965@lists.php.net to get a copy of this message | ||
A simple select example.
$pr_stmt = db2_prepare ($this->conn,"select count(*) from note where city=? and year=
?");
db2_execute($pr_stmt,array('test',2016));
$count_res = db2_fetch_array($pr_stmt);
echo "Count =".$count_res[0]
----
Server IP: 72.52.91.14
Probable Submitter: 164.100.150.114
----
Manual Page -- http://php.net/manual/en/function.db2-prepare.php
Edit -- https://master.php.net/note/edit/120093
Del: integrated -- https://master.php.net/note/delete/120093/integrated
Del: useless -- https://master.php.net/note/delete/120093/useless
Del: bad code -- https://master.php.net/note/delete/120093/bad+code
Del: spam -- https://master.php.net/note/delete/120093/spam
Del: non-english -- https://master.php.net/note/delete/120093/non-english
Del: in docs -- https://master.php.net/note/delete/120093/in+docs
Del: other reasons-- https://master.php.net/note/delete/120093
Reject -- https://master.php.net/note/reject/120093
Search -- https://master.php.net/manage/user-notes.php