• Problem with headers in php
    63 replies, posted
[QUOTE=Eax;16814701]Okay :) You create a user on the site. Then you log in. From there you can Log Out or "Create Friend" Creating friend lets you enter the data on a person, saves it to the database and returns to where you can see your friends. Other users can only see their friends, not yours :) Need more detail? :)[/QUOTE] Explain in SQL Terms pl0x. What I mean is, do you want to update the row of a certain user and add their new friends username to their field column?
Hmm not should I know exactly what you mean. What's a field column? But as it is now usernames is stored in "users" whereas user friends is stored in "user_friends" which is to different tables.
[QUOTE=Eax;16815258]Hmm not should I know exactly what you mean. What's a field column? But as it is now usernames is stored in "users" whereas user friends is stored in "user_friends" which is to different tables.[/QUOTE] Sorry I worded it completely wrong, I've drunk alot today :P. If you can try and explain what happens when you add a friend or what ever and in detail it would be appreciated.
Hey :) Sorry for the late answer, been a VERY busy week. Explanation: When I add a friend his info is stored in the database along with a "reference" to the user that added this friend, so that only he/she may see the friend again.
Sorry, you need to Log In to post a reply to this thread.