Possibly bug or incorrect code? |
If it returns one row only then it must be because that the query only got one row, check the rows of your table and see if they are active, chances are there is only one row which has an active column set to true in your table.
PHP Code: //path: proj/application/controllers/News.php PHP Code: // oath: proj/application/models/News_model.php PHP Code: //path: proj/application/views/news/index.php |
Messages In This Thread |
Possibly bug or incorrect code? - by cyborg - 07-04-2017, 02:36 PM
RE: Possibly bug or incorrect code? - by usmanahmed - 07-04-2017, 10:06 PM
RE: Possibly bug or incorrect code? - by Wouter60 - 07-04-2017, 10:42 PM
RE: Possibly bug or incorrect code? - by rtenny - 07-05-2017, 01:15 AM
RE: Possibly bug or incorrect code? - by cyborg - 07-05-2017, 05:44 AM
RE: Possibly bug or incorrect code? - by John_Betong - 07-05-2017, 06:54 PM
RE: Possibly bug or incorrect code? - by meSmashsta - 07-05-2017, 05:53 PM
RE: Possibly bug or incorrect code? - by Wouter60 - 07-05-2017, 10:34 PM
|