exam results showing webpage
I need some help with creating a exam results showing webpage please anyone got some idea ?
i need to make it like when a student enter his/her ID then he/she could see the exam results.
How complex this would be depends on how secure you want it to be, and how many students there are. If you want password protection and a lot of students, then you need a full blown database. That means using PHP and SQL, which is a lot of work. You can simplify the work by using arrays to store the results. That means you need to use PHP but not SQL, but its only practical for smallish volumes of data.
hey Jedaisoul thanks for your reply
and hmm it should be a simple web page i dont have that much of huge student base only like 50-100 or 50-200 it doesnt have to be that much complex with security and password things anyone who has student ID should be able to see the results thats all i need may be i can do something from wordpress or joomla? are there any addons or plugins for that since i am very poor with these PHP and MySQL
thanks for reply but what i shall do with that ? hm
Follow the links to the product's site, read the documentation, user comments, etc.; maybe download it and play around with it yourself, and see if it provides the functionality you need.
Or wait patiently here for someone to provide another option/solution?
Well...as you said you need a simple one so, for that i think the below link may help you to solve the problem.
Hope this helps.
Here's a working example of the minimum you need:
error_reporting(E_ALL ^ E_NOTICE);
/* results note: set $max to last array element */
$results=array('000001','M101','Maths - elementary','E');
$results=array('000002','M101','Maths - elementary','A+');
<form action="#" method=post>
ID <input type="text" name="stud_id" value="<?php echo $stud_id; ?>">
<input type="submit" name="submit">
/* list results */
echo '<br>code: '.$results[$n].' - '.$results[$n].' result: '.$results[$n];
1. The script needs to be called something plus '.PHP' e.g. 'stud_res.php' and must be put on a web server that supports PHP. It will not run in a browser.
2. To run the script set up a shortcut. E.g. If you are using a local host like Wampserver, set the target to:
3. The code is very inefficient, e.g. that the for loop runs through all the results every time. It is just intended to show you the idea.
wow Thanks so much jedaisoul! i will test this soon and will let you know <3 atm i am having issue with my PC windows corrupted -_-
The major limitation of the example I have given is that you have to manually create the array of results. If you have the results in electronic form, that could be avoided by importing them at runtime from a CSV file.
I need some help, I am doing a project on A Student management system(courses(with maximum credit limit per semester, students records, and more) that can also work as an online exam application for registered students to take their exams when it is time for exams(i.e student management system plus online exam system in one with php and MySQL). Please if anyone can help, I need it badly, I just have 4 weeks left and I am pretty new to programing, I am required to use PHP, MySQL, a little java. where necessary.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)