mardi 24 mars 2020

how get random row from =>1 in table of database in MySQL?

this is my PHP code, How can I get randomly row from 'featured'=>1 in table of database in MySQL? which part of my below code should change?

$featured_movie = $this->db->get_where('movie', array('featured'=>1))->row();




Aucun commentaire:

Enregistrer un commentaire