Welcome Guest, Not a member yet? Register   Sign In
Looking for tutorials...
#1

[eluser]Unknown[/eluser]
Coming over to CodeIgniter from Django. I was hoping someone could point me in the right direction of a tutorial, or bits of information for the following questions...

1) I have a system that is tracking the number of steps people take in a week, or whatever period of time they choose, so I have a users table, then have a table with the goal start date, end date, goal, number of steps, and then the foreign key for the user. In my loop I'm using saying <?=user?> which is just the integer that links the two, but what I'd like it to display is the first name and then the last name from the user table.

2) Also, what I'm looking for is the way to list all the goals set by the individual person on their page. So if you go to mysite.com/user/1 it'll show you the personal info (name, email, department, etc) of the person, then have a loop where it lists all the entries in the GOAL table where they're the user and the info from that table.

Thanks for any tips, really enjoying CI so far...
#2

[eluser]mdowns[/eluser]
User Guide.

http://ellislab.com/codeigniter/user-gui...index.html
#3

[eluser]Jamie Rumbelow[/eluser]
Hey Chris!

Django eh? I'm going to experiment with that soon, perhaps you could give me a hand...

I've written a two-part tutorial covering nearly all the database functionality, and you can get them at my blog, http://www.jamierumbelow.net/

Part one: http://jamierumbelow.net/code-igniter/th...databases/
Part two: http://jamierumbelow.net/code-igniter/th...-part-two/

Thanks,

Jamie




Theme © iAndrew 2016 - Forum software by © MyBB