Newbie trying to fetch data and display in table of a logged in user. |
[eluser]Unknown[/eluser]
Hi, I have successfully set up a user login & registration system. However, I am trying to set up a page, which contains a table with data fetch from a mysql database of the specific user only. The table will show information of the specific user only. Help! Thanks in advance!
[eluser]rjsmith[/eluser]
Need a bit more information. Are you trying to grab information from the same table as the user, or some other table with content the user created?
[eluser]InsiteFX[/eluser]
CodeIgniter Users Guide - HTML Table Class Code from Auth 1.0.6 - by Adam Griffiths. Code: // --------------------------------------------------------------------
[eluser]Unknown[/eluser]
Sorry for providing just a little information. I guess the idea is basic but I am a newbie and struggling with Codeigniter. I already set up a login system, with a login page and a member page. I have a mysql table with 5 column; id, email, password, name, age. I want to display 4 of the information (except password) of the logged in user into a table in the member page. Help pls.
[eluser]rjsmith[/eluser]
Code: //In user_model.php (or whatever you named it if you're using one) |
Welcome Guest, Not a member yet? Register Sign In |