?
Hi all …
I am trying to do some things with mysql and php but I hit abrick wall hard here is the thing..
I have three tables students stage and subjects each student must choose enter their details and choose three subjects from the subject table associated with the stage there is six stages and each have five subjects.
There is five tables
Students
Stage
Subject
Stage_subject
Student_stage
Can I enter data to the three stages using the primary key with will not be assigned until the student data is in the table..
Or how can retrieve the id that I just entered to the student table and pass it to another page where can I using to enter other data
Hence stages and subjects are all ready pre set to the database