:sl:
Brother, here is a pretty good site that I used to utilize all the time, when learning web development:
http://www.w3schools.com/php/default.asp InshaAllah, you will find to be of benefit.
But first you need to store the name and score into variables, then perform your calculation to convert the score to a percentage, and then echo back the calculation. I would guess it would go something like this:
<?php
$name = "studentName"
$score = 23;
$calculation = ( 23 / 25 ) * 100;
if ($calculation >= 70)
echo $name + ", you are a first class student!";
elseif ($calculation < 70)
echo $name + ", better luck next time. Your score was " + $calculation;
?>
How are you reading the scores in? Are you reading it from a file? Or typing it in at the command prompt? Or asking the user to input it into a form on a web page? The last option would make the most sense. So you will find everything you need on that website I linked.
Dunno if that helped, if it was too much or too little...but it was fun for me so I will go bye-bye now :)
:w: