cvs: pear /MDB2/docs/examples example_php5.php

From: Date: Mon, 20 Mar 2006 13:24:28 +0000
Subject: cvs: pear /MDB2/docs/examples example_php5.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-39206@lists.php.net to get a copy of this message
lsmith Mon Mar 20 13:24:28 2006 UTC Modified files: /pear/MDB2/docs/examples example_php5.php Log: - use MDB2_PREPARE_MANIP http://cvs.php.net/viewcvs.cgi/pear/MDB2/docs/examples/example_php5.php?r1=1.7&r2=1.8&diff_format=u Index: pear/MDB2/docs/examples/example_php5.php diff -u pear/MDB2/docs/examples/example_php5.php:1.7 pear/MDB2/docs/examples/example_php5.php:1.8 --- pear/MDB2/docs/examples/example_php5.php:1.7 Mon Mar 20 12:26:21 2006 +++ pear/MDB2/docs/examples/example_php5.php Mon Mar 20 13:24:28 2006 @@ -51,7 +51,7 @@ // parameters: // 1) the query (notice we are using named parameters, but we could also use ? instead // 2) types of the placeholders (either keyed numerically in order or by name) -// 3) true denotes a DML statement +// 3) MDB2_PREPARE_MANIP denotes a DML statement $stmt = $mdb2->prepare($query, array('text', 'date'), MDB2_PREPARE_MANIP); // load Date helper class

« previous php.pear.cvs (#39206) next »