Hello all, So I have been scouring the internet trying to find an answer to my question. I usually never have to post a question because someone somewhere has asked it, but I guess there is a first for everything. I am a VERY intro level, brand spankin new 'programmer' (can't even call me that yet). I have 0 hours of college, just high school diploma, but I read a lot. I have been learning Java programming for about 3 months now and am trying to get an idea of where I am and if I am learning at a …

Member Avatar
Member Avatar
+0 forum 8

Will there be any rating score of a thread in the future? What is the **Pro** or **Con** of it?

Member Avatar
Member Avatar
+0 forum 3

I want to make a rating system that uses ajax for the rating. i use php and call all of the images, then i want to use ajax to post all the votes to a php script. However, i dont know how to get the elements. I want to be able to identify which picture the user selected. [CODE]<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <a href="upload.html"> Upload pics </a><br/> <?php mysql_connect('localhost','root',''); mysql_select_db("ajax"); $query="SELECT * FROM xxxxx"; $result= mysql_query($query); while($row= mysql_fetch_array($result)){ echo "<img src =\"" .$row['filepath']."\" /><br/><button name='subject' id='x' type='submit'>".$row['xxxxx']."</button><br/>"; } ?> <script type="text/javascript" > var x = …

Member Avatar
+0 forum 0

i made a rating system, however each time i would click on like for the first name, it counts the vote for the second name, and when click on the like for the second name, it still counts the vote for the second name. please help. [CODE]<?php include 'connection/connection.php'; $selection = "SELECT * FROM testrating"; $result = mysql_query($selection); while($row=mysql_fetch_array($result)) { $id = $row['ID']; echo $row['name']." ".$row['name_votes']."<a href=\"index.php?id=$id\">like</a>"; $enterrating = "UPDATE testrating SET name_votes=name_votes +1 WHERE ID = \"$id\" "; } ?> <?php mysql_query($enterrating); ?> [/CODE]

Member Avatar
Member Avatar
+0 forum 2

Hi I am recently trying a rating concept in php. The project is, peoples will post the images of house and ask everyone to rate it as which is beautiful home. I've placed a 5 rating stars and doing all the vote captures. But i am confused in picking the right beautiful house. [U]Calculation i'm used: [/U] [B]Avg. Rating = Sum of rates/count of votes[/B] This is working fine. But i am not sure is this is the correct method. Because, this is had loophole. [B]For ex: [/B] house #1 : 5 votes & (1+2+3+4+5)15 rates = Avg Rating = …

Member Avatar
Member Avatar
+0 forum 9

This script can be used for star ratings on for example forum or music sites. The scriptinformation is included within the script. ~G

Member Avatar
+2 forum 0

The End.