database modeling for a friend list |
[eluser]bluepicaso[/eluser]
Thank you erik.brannstrom. that was quit fast.. Thanks a lot. i need more suggestions though. Thanx again
[eluser]bluepicaso[/eluser]
finally i have changed my database to Many to many relations. Hope it works
[eluser]bluepicaso[/eluser]
ok here is a problem the code works fine. But results are unexpected. Code: function getUserFrnds($user_id, $num, $offset) the result i get is this. Though the record is different but displays same user details. Pleas help me. Its due to some unlogical active record I'm calling. please help Quote:Array I want to show friends of user whome the user follows and the ones who follow this user. Please help i want to display each friends name but it displays current user in each record.
[eluser]Buso[/eluser]
[quote author="PDP" date="1239962060"][quote author="slowgary" date="1239954888"]What's the big deal? I write code for planes all the time. A few Boeing planes are using code that I wrote. And so far, only a few crashes ![]() I'm never riding a Boeing from now on ![]() ahahahaha :lol:
[eluser]bluepicaso[/eluser]
I found the Solution here is the code for the model Code: function getUserFrnds($user_id, $num, $offset) generated results as expected. Thank you JAY
|
Welcome Guest, Not a member yet? Register Sign In |