⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

select where operators



Mohammed Zayan
  • profile picture
  • Member

Posted 18 September 2012 - 11:40 AM

Hi All
I want to make sql select where field > value

SELECT *
FROM `ads`
WHERE `end_date` > '2012-09-18'

Mohammed Zayan
  • profile picture
  • Member

Posted 18 September 2012 - 11:49 AM

Ohhhh,
Thanks guys I make it

$crud->where('end_date >', $current_date);