• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some Advise?

Yes, I agree that you should probably learn more about Codeigniter first. Your question is really a database question, not really related to Codeigniter. Are you also new to databases? You would need at least two table, one for your users and the other for your posts. Then you would join the two tables. You only want one post from every user, the very last post they made? In that case, your query would probably use the MAX() function to find the post with the highest date value for each user.
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!

Messages In This Thread
Some Advise? - by Riaanv - 03-19-2015, 05:25 AM
RE: Some Advise? - by silentium - 03-19-2015, 03:29 PM
RE: Some Advise? - by rocks - 03-19-2015, 08:44 PM
RE: Some Advise? - by RobertSF - 03-20-2015, 04:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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