PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
if ($cc>$tc) { //means all steps have been completed
$gpa = $points / $credits;
echo "<hr /><div align='center'><p class='results'>Your GPA is $gpa!<br /><a href="http://www.facebook.com/sharer.php?u=http://www.gpacalculator.org&t=My GPA is <?php echo $_POST['gpa']; ?>">Share your GPA on Facebook</a></p>";
if ($gpa>=3.5) {
echo "<p><b>Congratulations! You've achieved the Honor Roll!</b></p>";
}