php - writing custom query in doophp
670
I am new to Doophp framework. I would like to write the following SQL query to be executed in Doophp. but I can't find any proper tutorials or reference regarding to this. Query is as follow;
SELECT * FROM
m_company
WHEREcomp_id
LIKE%$search%
ORcomp_kana
LIKE%$search%
ORcomp_person
LIKE%$search%
Answer
Solution:
in Doo db SmartModel you can use the "custom" paramters as here: let's assume you have a model "company" so in controller
bye