Bug #8250 [Opn->Csd]: Wrong code Example 33-2 package.database.mdb2.intro-query.php
| From: | lsmith@php.net | Date: | Wed, 19 Jul 2006 22:45:34 +0000 |
| Subject: | Bug #8250 [Opn->Csd]: Wrong code Example 33-2 package.database.mdb2.intro-query.php | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-8158@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=8250&edit=1
ID: 8250
Updated by: lsmith@php.net
Reported By: andres at pruna dot com dot ar
-Status: Open
+Status: Closed
Id: 8250
Type: Bug
Package: Documentation
Operating System: any
PHP Version: Irrelevant
New Comment:
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2006-07-19 12:06:11] andres at pruna dot com dot ar
Description:
------------
In code:
$sql = "INSERT INTO clients (name, address) VALUES ($name,
�address)";
$data = 53;
$affected =& $mdb2->exec($sql);
You are not passing $data to complete query statement.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=8250&edit=1