• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can someone check the "News section" Database Tutorial

#1
https://codeigniter4.github.io/CodeIgnit...ction.html

I decided to start from scratch with the above Database Tutorial:

I could not get it to work...  persevered and found that there appears to be  a missing database method.

Using the following rendered the data,

PHP Code:
// added ->resultID; 
 
$data['news'] = $db->getNews($id=1)->resultID  
Reply


Messages In This Thread
Can someone check the "News section" Database Tutorial - by John_Betong - 01-27-2019, 08:47 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.