File: WIAdmin/WIModule/modules/rating_system.php

Recommend this page to a friend!
  Classes of Jules Warner  >  WICMS  >  WIAdmin/WIModule/modules/rating_system.php  >  Download  
File: WIAdmin/WIModule/modules/rating_system.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: WICMS
Database driven content management system with PDO
Author: By
Last change:
Date: 3 years ago
Size: 860 bytes


Class file image Download

require_once 'core/init.php';

$find_data = mysql_query("SELECT * FROM book_ratings");

$row = mysql_fetch_assoc($find_data))
$id = $row['id'];
$book = $row['book'];
$type = $row['type'];
$comment = $row['comment'];
$rating = $row['rating'];
$hits = $row['hits'];
    <form action='rate.php' method='POST'>
$book: <select name='rating'>
    <input type='hidden' value='
$book' name='book'>
    <input type='submit' value='Rate!'>Current Rating:"
; echo round ($current_rating, 2); echo "


<!doctype html>
<meta charset="utf-8">
<title>Untitled Document</title>


For more information send a message to info at phpclasses dot org.