summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected
diff options
context:
space:
mode:
authorxue <>2006-11-28 16:15:32 +0000
committerxue <>2006-11-28 16:15:32 +0000
commit9b4cdb23401bc6f405ff731618110245c9d55b8e (patch)
tree286624522e37ee0c0b7dbf3cce0a44d9a1633017 /demos/quickstart/protected
parent11e410a533bc7ae4009dd5467f798d6c387088ad (diff)
typo fix.
Diffstat (limited to 'demos/quickstart/protected')
-rw-r--r--demos/quickstart/protected/pages/Database/DAO.page2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Database/DAO.page b/demos/quickstart/protected/pages/Database/DAO.page
index 0f60b0ef..44da10d5 100644
--- a/demos/quickstart/protected/pages/Database/DAO.page
+++ b/demos/quickstart/protected/pages/Database/DAO.page
@@ -150,7 +150,7 @@ $dataReader=$connection->createCommand($sql)->query();
// bind the 1st column (username) with the $username variable
$dataReader->bindColumn(1,$username);
// bind the 2nd column (email) with the $email variable
-$dataReader->bindParameter(2,$email);
+$dataReader->bindColumn(2,$email);
while($dataReader->read()!==false)
{
// $username and $email contain the username and email in the current row