Welcome! Log In Create A New Profile

Advanced

Page to generate listing of students

Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Page to generate listing of students
April 21, 2012 05:55PM
""This page presents a listing of all courses – when clicking on a course, it shows a list of all the students registered for that course.""

The list of all the students
is it just their name, surname or
does this mean every bit of info from of that student?
Re: Page to generate listing of students
April 22, 2012 11:57AM
I was also wondering this for both the class list pages and the student manager page, because with all the details it makes for a very big table. Would it be ok to just have name and student number in a table list and a 'view more' button if the administrator wants to view all the details of that student? Just to keep things neater?
Re: Page to generate listing of students
April 23, 2012 07:55AM
I don't think what student information being displayed is the point.
As Mac will know if you can display the Name and Surname, you will be able to display the rest.

The think he wants to see, is if you are able to compile a list of all the various courses, and once clicked on the course name if you can call up a list of student names and surnames which will be attending the class.

Right mac?
avatar
Mac
Re: Page to generate listing of students
April 23, 2012 08:24AM
Quite correct!
Re: Page to generate listing of students
April 23, 2012 09:17AM
Nice cool smiley
Re: Page to generate listing of students
April 23, 2012 11:50AM
Hi guys

I stand to be corrected, i've been trying to use the very same form for registering and managing students.
Im still exploring though?
Re: Page to generate listing of students
April 23, 2012 12:33PM
77592972_innocent Wrote:
-------------------------------------------------------
> Hi guys
>
> I stand to be corrected, i've been trying to use
> the very same form for registering and managing
> students.
> Im still exploring though?


Hi man,

if this answers your question, I use the same function to call up a form to register and update students info.
Re: Page to generate listing of students
April 24, 2012 10:33AM
eye popping smiley you know for course_man.php and list.php when it says

""The Add a new course link ""

can it be a button/form ? (the link)
or is it like a blue text underline a href thing?
Re: Page to generate listing of students
April 24, 2012 10:40AM
At first I used a href tags....as it would save you a lot of code.
But when read through the tutorial letter, it went on about using forms etc.

Then I asked the same question on these forums...and if I understood correctly you should use forms.

So that is what I did...

I have forms all over the place.
Re: Page to generate listing of students
April 24, 2012 05:18PM
and for list.php
is it ok to do this for eg

lets say your course name = MATHS
so when i click on maths its shows the student numbers for those who took maths and another option to open up a specific student number for rest of info?

like this

MATHS {view students} <---- click that

then open

show the sno for maths and next to it the open up option to see the rest of student number 1 spinning smiley sticking its tongue out

sno 1 {show rest of student info}
sno 2 {show rest of student info}
sno 3 {show rest of student info}
sno 4 {show rest of student info}
avatar
Mac
Re: Page to generate listing of students
April 25, 2012 06:55AM
The link is merely an <a href> to a form.
Re: Page to generate listing of students
April 25, 2012 07:13AM
Eish....am I going to be heavily penalised for using forms and not hrefs?
avatar
Mac
Re: Page to generate listing of students
April 25, 2012 12:45PM
The Add a new course link is a simple <a href that you use to open the form that you use to edit.
Re: Page to generate listing of students
April 25, 2012 06:50PM
confused smiley i dont have any links
so now im gona redo it all can some1 help me with this "link"

simple eg:

<a href = ' ' > add course</a>

<Form name ="form1" Method ="POST" Action ="course_man.php">
<Input Type = '' Name ='' value=''><br>
<Input Type = '' Name ='' value='''><br>
<Input Type = "Submit" Name = "add" Value = 'add course'>
</FORM>

so how does the <a href> bring up form1, thanks in advance. My heads gona explode, i need to take a break angry smiley
avatar
Mac
Re: Page to generate listing of students
April 26, 2012 06:36AM
Well, an <a href link points to a page that contains the form.
Re: Page to generate listing of students
April 26, 2012 12:28PM
Ah thanks mac thumbs up
dunno why i was thinking that there should be only 4 pages
Re: Page to generate listing of students
May 02, 2012 08:10AM
Is it wrong if you have a form containing 2 submit buttons, which calls the add and delete functions?

Thus not using hrefs...but merely skipping the link to a page with the form.
avatar
Mac
Re: Page to generate listing of students
May 02, 2012 10:59AM
You can use what you want... the reason for this requirement was to let you understand the difference between $_POST and $_GET
Re: Page to generate listing of students
May 02, 2012 12:58PM
Ok I understand. I'm using $_GET somewhere else in my app, though just a small bit.

Hopefully I won't be losing stupid points...*holding thumbs*
Sorry, you do not have permission to post/reply in this forum.