Hello All,
I'm in the process of converting a site from lasso to php, and I'd like a bit of help in mirroring a function in lasso. In lasso, they have a "post_inline" function that will run a script on the server after a page has been returned to the user.
Here is my situation: I want to have teachers input grades for their students and then have php enter the grades into a MySQL database (no problem with this part) and return a page to the teacher saying something like 'successful entry' (no problems here, either). After the 'successful entry' page has loaded, teachers are free to go on their merry way. However, I would like to run either a php or MySQL script to then go in and update the students' averages, class averages, etc after the grades have been input. I could just include the entire script on the 'successful entry' page, but I don't want teachers to have to wait for the script to complete. In lasso, I would just include a line in the 'successful entry' page to tell a 'post_inline' (containing the script) to run after the page has loaded.
Any hints to set me in the right direction?
Thank you in advance.
Mike