/    Sign up×
Community /Pin to ProfileBookmark

Need help doing a student register

Hi guys I’ve got an assignment that I’ve been struggling with for a few weeks now. half of my class has two years PHP experience and the other half, two weeks! Guess what half I’m in!

Anyways,

I have set up a student registry system where students need to register their student ID and their password in order to register themselves for that day.

Student ID, Date and Time are all then stored in a Register table.

I have also set up a user table where the First name, last name, Student ID, Password, Year and Class are stored.

For the administrators (supposedly the teachers) I’ve set up a simple log in and they are then allowed access to features such as Add, Delete and edit student records.

However, this is not what my lecturer is looking for and god knows why he doesn’t help us with this (yes I’m incredibly annoyed with him!). He wants some sort of statistics page that will be generated for each student when a teacher wants to look at their attendance records and get stuff like Average attendance throughout the week/year. How often a student was late (logged in after 8.50am). He wants graphs (I have access to GD library although, not the slightest clue how to take advantage of it or even use it!) and loads of other things!

Any help on where I should start next would be greatly appreciated!

Many, many thanks
Jonathan!

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@sureshpApr 16.2007 — Hi Jonathan!

I am also struggling with my task, its almost same with urs. I had posted in this forum also, but i didnt get any replies. If u got sloution for this, please send it to me.

Thanks in advance!
Copy linkTweet thisAlerts:
@jonthomas83authorApr 16.2007 — lol! same to you too then! ?
Copy linkTweet thisAlerts:
@JayMApr 16.2007 — I think the reason you haven't gotten a response is because you haven't asked something specific. Generally we are here to help you when you're stuck. Asking for help about "graphs and loads of other things!" doesn't really help us ?.

Start your project, and if you're facing a specific problem, post a specific question.

Good luck.
Copy linkTweet thisAlerts:
@jonthomas83authorApr 16.2007 — Yeah I know mate, thanks for that though, I know it's a pain in the rear when a post is so vague! I gathered that after a few hours and posted two problems that I encountered:

Please see...

http://www.webdeveloper.com/forum/showthread.php?t=145178

There are two problems on there, actually I should really break them down cos I'm not really getting much response to my latest posts.

I got a problem with..

[CODE]<?php
session_start(); // startsession

$User=$_GET["StudId"];

$Today=date("Y-m-d");

$Now=date("H:i:s");

$time= date("Hi");

if ($time > 0850) {
$latecount = 1;
}
else
$latecount = 0;
}

if ($time > 0850) {
$late = "Late";
}
else
$late = "On Time";
}
?>[/CODE]


I'm then outputting this to the table when a user logs in, at half 7 this morning it still said I was late when I tried it, can anyone show me where I'm going wrong?
Copy linkTweet thisAlerts:
@johnyrichardsApr 07.2019 — Having an urgent assignment but can’t beat the writer’s block? Why don’t chill and let our essay typer do the work for you. https://scamfighter.net/free-essay-typer
Copy linkTweet thisAlerts:
@ginerjmApr 08.2019 — Guys!!! Has anybody looked at how OLD this topic is? The "students" who were struggling with this problem 12 years ago have quite possibly earned their doctorate by now!!! Maybe not in PHP but at least they have a degree.
×

Success!

Help @jonthomas83 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...