Sunday, 27 November 2011

Getting an average number using PHP

<?
$total_ratings 
= (3+2+3+1+5+2+3);$total_votes 7;$average $total_ratings $total_votes;
print(
"The Average Rating Is: $average");?>

No comments:

Post a Comment