Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.129.63.252
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/jesimmons/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/jesimmons/public_html/Ass2-3Result.php
<!-- 


	File name: Ass2-3result.php 
	Assigment 2-3
	Due: Feb. 27, 2020
	Author: Jackson S.
	Goal: 3.This is a simple course evaluation system. The first page is a form that includes two text boxes for the student's name and the course number (such as CS 212, CS 480, MAT 171 etc). The second page lists two made-up questions for evaluating the course and three radio buttons showing the values of 'strong agree', 'agree', and 'not agree'. The third page displays all the information passed down from the last two pages, including student's name, course number, and results for the two questions. Another option for the course number is to use the selection list that is not required.

 -->

<font color = blue>
<center>
<h2>
Result of Evaluation
</h2>
<center>
</font>

<font color=true>
<center>
<?php
	session_start();
	$a1 = $_POST['q1'];  
	$a2 = $_POST['q2'];  


	$firstName = $_SESSION['v1'];
	$course = $_SESSION['v2'];

	
	print "Your Name: $firstName<P>";
	print "Your Course: $course<P>";
	
	if ($a1 == "one")
	{
		print "Your answer for question 1: Strongly Agree <P>";
	}
	else if ($a1 == "two")
	{
		print "Your answer for question 1: Agree <P>";
	}
	else
	{
		print "Your answer for question 1: Do Not Agree <P>";
	}


	if ($a2 == "one2")
	{
		print "Your answer for question 2: Strongly Agree <P><BR>";
	}
	else if ($a2 == "two2")
	{
		print "Your answer for question 2: Agree <P><BR>";
	}
	else
	{
		print "Your answer for question 2: Do Not Agree <P><BR>";
	}


?>

<A HREF= Assignment2.html><font color="black"> Return to Assignment 2 Page<font/><A/>

</center>
</font

Stv3n404 - 2023