Sign in
apache
/
zetacomponents
/
4b84fff2ee2106fc3b47021ec4bbaa1282d3b83c
/
.
/
Database
/
docs
/
tutorial_example_03.php
blob: 577282772170d38a5abed3e0e95004b512f35730 [
file
] [
log
] [
blame
]
<?
php
$db
=
ezcDbInstance
::
get
();
$stmt
=
$db
->
prepare
(
'SELECT * FROM quotes where author = :author'
);
$stmt
->
bindValue
(
':author'
,
'Robert Foster'
);
$stmt
->
execute
();
$rows
=
$stmt
->
fetchAll
();
?>