How to insert RATING values into DB

hey guys,i need some help on my code cause i am having trouble in inserting the values for rating into the database ! This is a mouse over 5star rating ,below are my codes which i have done !

completesurveyfinalized.php

Rate the provision store

h1{text-align:center; font-family:Arial;} body{text-align:center; font-family:Arial;} <?php

include_once(‘config2.php’);
//construct SQL
$sql=“SELECT * FROM provision”;
//send to mysql using mysqli object
$result=$mysqli->query($sql);
//iterate

while(list ($provisionid,$provisionstore)=$result->fetch_row())
echo “”.$provisionstore."";
$result->free();
$mysqli->close();
?>

Provision store:

Reliability Rating

Efficiency Rating

Service Rating

Popularity Rating

Submit Cancel

Some help would be really appreciated ! Any guidance would be nice too ! :slight_smile: thanks guys !

Cheers !

You don’t have a form anywhere in that so you’re really not going to be able to submit anything.

Sponsor our Newsletter | Privacy Policy | Terms of Service