I want to create a rating system that allows users to rate other users.......

I am using this tutorial: http://megarush.net/5-star-rating-system-with-php-mysql-jquery-and-ajax/

I want the rating system to allow users to rate other users on their profiles. I want to add user ids to profiles to make each profile special in a way that I can insert the rating into the person’s(that is being rated) database table. How can I change the url to show the id of the owner of the profile. I havent found a way to visit other profiles in my database so this would help with the rating system and the search function to allow users to visit other profiles.

[quote author=Riong]
I am using this tutorial: http://megarush.net/5-star-rating-system-with-php-mysql-jquery-and-ajax/

I want the rating system to allow users to rate other users on their profiles. I want to add user ids to profiles to make each profile special in a way that I can insert the rating into the person’s(that is being rated) database table.[/qoute]

Would the username not be unique? What are you currently using as the primary key?

That would be “GET” as opposed to “POST”

Visit how? You have a template page, based on what username is passed to the page it would query the database/ datatable and display the profile on the page.

Sponsor our Newsletter | Privacy Policy | Terms of Service