What is a community without friends? Not much really… So thats why this tutorial will cover how to add friends to the users presentation as bookmarks. We will also go over how to search the database for new friends to add to your list.
(more…)
Archive for the ‘MySQL’ Category
Building your own Myspace.com with PHP part V: Friends and guestbook
Tuesday, July 31st, 2007Building your own Myspace.com with PHP part IV: Presentation
Tuesday, July 31st, 2007In the previous tutorial we learned how to register a new user and how to create a login system with php sessions. With this done we can now move on to the users personal presentation page. So in this tutorial we will first go over how to display a presentation and then how to let the user edit his own page.
(more…)
Building your own myspace.com with PHP Part II: Designing the database
Tuesday, July 31st, 2007In this part of the tutorial we are going to create the back end database that will hold all the information that we need to save for our script. We will create the table structure to prepare the database for the information we want it to hold. We will also create a wrapper class for MySQL that we will use to make our database calls as painless and clean as possible.
(more…)