I hope I can explain this well...here's what I want to do:
I want to have an image that, when clicked, the link will call a "print nice" php script (you know one of those printer friendly scripts). Before it does that though, I want it to call a php function that will update a mysql database setting the "printed flag" to yes.
I know all the code for the functions which is why I'm posting here and not to the database forum.
What should be the code for the link to call a function and then call another function, all from one click? Can it be done?
TIA!