Forums
This topic is locked
Needing help to remove wrong url parameter on php
Posted 02 Jan 2007 10:52:29
1
has voted
02 Jan 2007 10:52:29 Marcell Branco posted:
Hello,I'm using Dreamweaver 8, php and MySQL to build an web application to manage information of students of a college. To fill the application form the user must first choose the course category (e.g. Business Course) than the course(e.g. Diploma) and finally the batch (e.g. June 2006) before enter student's details. The form to insert the new student in table 'students' receives the course and batch data from other tables filtered by url parameter (e.g. localhost/CollegeManager/Students/application_form_page3.php?Batch=4).
After submiting the form the application should show the student file but it is sending the wrong url parameter to the next page:
localhost/CollegeManager/Students/view_student.php?RecordNumber=&BatchID=4
Where it should be only:
localhost/CollegeManager/Students/view_student.php?RecordNumber=" . $row_InsertStudent['RecordNumber'] . "
How can I remove the 'BatchID' parameter used in the application_form_page3.php when passing the student record number to the page view_student.php?
The same is not happening between the previous pages. I thing it will probably be something simple but as I'm new to dynamic sites and I learn from online tutorials only I can't realise what's wrong. Can someone help me please?
Regards