Login to use this feature.
15760
2D Graphics
2238
3D Graphics
176
Audio Editing
189
Databases
2944
Miscellaneous
4664
Operating Systems
320
Video Editing
7003
Website Development
|
|
April 3rd, 2019
Contact Us page now working!
March 24th, 2019
Tutorial avatars uploading issue fixed
March 22nd, 2019
IP Blacklist banning issue
March 20th, 2019
Operation Fix P2L - March 19th Update
June 15th, 2018
Guess who's coming back to P2L?
|
Why would you use 'while'-loop with one result?
Just a hint, you can use aliases in MySQL. So instead of:
[...]
$rate=$r["AVG(number)"];
you could write something like this:
[...]
$rate=$r['average'];
(You could even write the following:
[...]
list($rate) = mysql_fetch_array($result, MYSQL_NUM);