Am I doing your homework for you?
//With the move function update the record set currentNumberofStudents for the class being added to using a +1 factor
//mysql read field data
//field data +1
// write new value to field
// Write update currentNumberofStudents for the class losing the student using a factor of -1
//mysql read field data
//filed data -1
// write new value to field
This is just an outline. There are a few lines of code between the comments.

Last edited by colbyt; 12-08-2008 at 08:40 AM..
Reason: add smiley
|