Hi,
I intend to write a search form with multiple fields, something like advanced search. Is there a class, like CSort or CPagination, which sets the conditions in sql query? Do I need to write a query from scratch?
Thanx!
Hi,
I intend to write a search form with multiple fields, something like advanced search. Is there a class, like CSort or CPagination, which sets the conditions in sql query? Do I need to write a query from scratch?
Thanx!
Nope. You need to do it by yourself. Remember to use bindValue or bindParam to avoid SQL injection attack.
thanx for quick answer