Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

yii query

$
0
0
MY query is:-

$sql = "SELECT * FROM `backup_history` WHERE DATE_FORMAT(datetime, '%Y-%m-%d' ) = '$current_date' AND `site_id`='$data[site_id]' ";


How can I convert this query to run in Yii?

does anyone solve it problem.
thanks!

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>