"; ?> 0) { // already registered, update it $query=mysql_query( "update ".$RATING_TABLE_NAME . " set value=" . $_POST['rateValue'] . " where (objectId=" . $_POST['rateWebsiteId'] . ")" . " and (ip='" . $REMOTE_ADDR . "')" , $connection); if ($query==FALSE) { echo "mysql_query() failed: \"".mysql_error()."\"."; exit(); } } else { // ok, store the new rating in the database $query=mysql_query( "insert ".$RATING_TABLE_NAME . " values (" . "DEFAULT, " . $_POST['rateWebsiteId'] . ", " . "\"" . $REMOTE_ADDR . "\", " . $_POST['rateValue'] . ")", $connection); if ($query==FALSE) { echo "mysql_query() failed: \"".mysql_error()."\"."; exit(); } } } ?>

Test Bandwidth Usage

Choose from our list of sites for testing internet speed:

=1) { $previousUserRow=mysql_fetch_row($previousUserQuery); $currentRadioIndex=$previousUserRow[3]; } else { $currentRadioIndex=-1; } // display row header echo "" . "\n" . "" . "\n"; // price echo "" . "\n"; // rating echo "" . "\n"; // rate echo "" . "\n"; // row footer echo ""; } ?>
Website "; else echo ""; } ?>
Price "; else echo ""; } ?>
User Rating "; else echo ""; } // use this by default if ($sortColumn=="unknown") { echo ""; } ?>
Rate it
" . "\n"; // linked image echo "" . "\n" . "\""" . "\n" . "
" . "\n" . "
" . "\n" . "$row[0]" . "\n" . "
" . "\n" . "
" . "\n" . $row[3] . "\n" . "" . "\n"; switch(intval($totalRating/25)) { case 0: { echo "
" . "\n"; break; } case 1: { echo "
" . "\n"; break; } case 2: { echo "
" . "\n"; break; } case 3: { echo "
" . "\n"; break; } case 4: { echo "
" . "\n"; break; } default: { echo "
" . "\n"; break; } } // display it echo "

" . intval($totalRating) . "%

" . "\n"; echo "
" . "\n"; if ($numberOfRatings==1) { echo "

(1 vote)

" . "\n"; } else { echo "

($numberOfRatings votes)

" . "\n"; } echo "
" . "\n"; echo "
" . "\n"; // radio 1 echo "
" . "\n"; if ($currentRadioIndex==1) echo "" . "\n"; else echo "" . "\n"; echo "1 Worst" . "\n"; // radio 2 echo "
"; if ($currentRadioIndex==2) echo "" . "\n"; else echo "" . "\n"; echo "2" . "\n"; // radio 3 echo "
"; if ($currentRadioIndex==3) { echo "" . "\n"; } else { echo "" . "\n"; } echo "3 Average" . "\n"; // radio 4 echo "
"; if ($currentRadioIndex==4) echo "" . "\n"; else echo "" . "\n"; echo "4" . "\n"; // radio 5 echo "
"; if ($currentRadioIndex==5) echo "" . "\n"; else echo "" . "\n"; echo "5 Best" . "\n"; echo "
" . "\n"; echo "

A maximum of one vote is allowed for each website listed. A user's votes can be changed at any time by them clicking a different rating. None of the websites listed are affiliated with Bandwidth Controller, they are completely external sites.