Guest_imported
New member
- Jan 1, 1970
- 0
Hi, i'm trying to save myself from creating too many tables in my mysql database so what i need todo is a page which handles the values sent from a form where a user rates a product and the rating they give is called $rate and the users name is called $username. What I need todo is a statement which adds $rate and $username into the same field and the rating is added onto the current rating (as if it's a total rating) and the username is placed at the end, for example.
#|#9#|#username1 username2 username3
Then I need tobe able to retrieve the total rating so the value can be displayed and i need tobe able to check if the username has already been inserted the next time the user rates the product.
I'd be greatful if someone could help me out or lead me in the right direction. Thanx
#|#9#|#username1 username2 username3
Then I need tobe able to retrieve the total rating so the value can be displayed and i need tobe able to check if the username has already been inserted the next time the user rates the product.
I'd be greatful if someone could help me out or lead me in the right direction. Thanx