Server IP : 172.16.15.8 / Your IP : 3.137.219.68 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/cjmcgiveron/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<CENTER> <FONT size=20> <?php $DIST = $_POST['q1']; $MASK = $_POST['q2']; $QUAR = $_POST['q3']; $TEST = $_POST['q4']; $BUY = $_POST['q5']; $HELP = $_POST['q6']; $VACCINE = $_POST['q7']; $TRUST = $_POST['q8']; $ECONOMY = $_POST['q9']; $FEAR = $_POST['q10']; $host = 'localhost'; $user = 'cjmcgiveron'; $passwd = 'cs480'; $database = 'cjmcgiveron'; $connect = mysqli_connect($host, $user, $passwd); $query = "insert into COVIDS values ('$DIST', '$MASK', '$QUAR', '$TEST', '$BUY', '$HELP', '$VACCINE', '$TRUST', '$ECONOMY', '$FEAR')"; mysqli_select_db($connect, $database); if(mysqli_query($connect, $query)) { print "Your Answers have been successfully recorded. Thank you for your cooperation!"; } else print "Your Answers failed to record, please take the questionaire again."; mysqli_close($connect); ?> </FONT> <P> <P> <P> <A HREF=CovidIndex.php> Back to Home </A> </CENTER>