php - How should I accomplish my rating script -


my webpage has table can select different items. want able let people rate these. ran problem need pass javascript variable php, , read online isn't easiest thing. how suggest this?

the code stored @ 98.214.131.200/index.php , 98.214.131.200/ratings/ratings.php

currently have functions in ratings.php allow me write or read ratings, need string javascript identify item being rated.

you pass rating using post request form.

http://www.tizag.com/phpt/forms.php/

make sure correctly sanitize inputs avoid sql injections

http://www.tizag.com/mysqltutorial/mysql-php-sql-injection.php


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -