Top

Review & Score Editor

Please Register to submit score.
Average Score  10.0
Scores Submitted  4
Date Added  Aug 24, 2005
Last Updated  Mar 24, 2007
Tags  editor  mysql  php  review  score 

Introduction

This is a stand alone example of a review system. This is the administration page for entering and editing reviews. It'll create your table for you automatically, so all you need to do is change the database settings. You may extract the database code and put it into a file called db.php. You can also extract the get_reviews() function and put it into a file called reviews.php. Just make sure you include() both files for this to work. This does not support front end displaying, but it can easily be modified to do so if you split the files up. Give it a try as-is on your local or hosted PHP account.

Screenshot


Grab the Code

Comments

  (7)  RSS
Lindrian
Comments: 693
 
PHP Snippet:  Review & Score Editor
Posted on Mar 24, 2007 5:49 pm
What about adding a function so your not able to input a number higher then 20? (Havent tried it, so i dont know if u already got that in there)
Hawkee
Comments: 397
 
PHP Snippet:  Review & Score Editor
Posted on Mar 24, 2007 5:53 pm
The limit is up to you. I didn't impose any sort of restrictions as this is just a bare bones template for a review system.
Lindrian
Comments: 693
 
PHP Snippet:  Review & Score Editor
Posted on Mar 24, 2007 7:40 pm
alright, i was just wondering, excellent work.
Abbas
Comments: 15
 
PHP Snippet:  Review & Score Editor
Posted on Sep 1, 2007 6:08 am
good work
mountaindew
Comments: 1,366
 
PHP Snippet:  Review & Score Editor
Posted on Sep 7, 2007 7:05 pm
ive never scripted php, but it looks good :P

did you code hawkee.com or did u get it from somewhere else?
mountaindew
Comments: 1,366
 
PHP Snippet:  Review & Score Editor
Posted on Sep 7, 2007 7:06 pm
like adding and reviewing snippets
Hawkee
Comments: 397
 
PHP Snippet:  Review & Score Editor
Posted on Sep 11, 2007 2:21 am
Coded everything except the forum myself.

Please Register or Login to start posting comments.
Bottom