How can i make model query based on images |
Thanks mwhitney but has bugs in here
Code: //$query=$this->db->query("SELECT * FROM `articles` WHERE art_jenis='TREND' ORDER BY art_id DESC limit 4"); when data more than 4 or even just 4 it's oke no problem with view but i'm trying to delete 1 so data 4-1=3 it show twice here is images http://prntscr.com/86p3ga then i'm trying to delete again to be 2 data (3-1=2) in table it also show it, it suppose to be only show 2 row without third row, i mean 2 row show twice too. then tested remove data and remain 1 data also show twice, what do i wrong here ? Please Correct me where i should give if, Thanks |
Messages In This Thread |
How can i make model query based on images - by freddy - 08-18-2015, 10:27 PM
RE: How can i make model query based on images - by Wouter60 - 08-18-2015, 11:14 PM
RE: How can i make model query based on images - by freddy - 08-19-2015, 12:20 AM
RE: How can i make model query based on images - by mwhitney - 08-19-2015, 06:58 AM
RE: How can i make model query based on images - by freddy - 08-19-2015, 08:33 PM
RE: How can i make model query based on images - by Wouter60 - 08-19-2015, 09:47 PM
RE: How can i make model query based on images - by freddy - 08-19-2015, 11:17 PM
RE: How can i make model query based on images - by mwhitney - 08-20-2015, 07:33 AM
RE: How can i make model query based on images - by freddy - 08-21-2015, 03:16 AM
RE: How can i make model query based on images - by mwhitney - 08-21-2015, 08:04 AM
RE: How can i make model query based on images - by freddy - 08-21-2015, 07:36 PM
|