Thread
:
Like queries
View Single Post
#
1
(
permalink
)
03-10-2008, 01:51 AM
Ewok
Junior Member
Join Date: Mar 2008
Location: Colorado SPrings
Posts: 16
Like queries
New to ZF.
Figured this out tonight. Thought it might help other people
Doing Mysql "LIKE" queries with Zend_Db_Table select
PHP Code:
$table
= new
Table
();
$select
=
$table
->
select
();
$select
->
where
(
"field_name like ?"
,
$var
.
"%"
);
__________________
Give all victory and gain to others
Take all defeat and loss upon yourself
Ewok
View Public Profile
Send a private message to Ewok
Visit Ewok's homepage!
Find all posts by Ewok