i believe it is not possible to do this as simply as i would like but perhaps someone can lead me in the right direction
the page i am writing about contains a link with a dynamically generated href, no problems with this part of it. when the user clicks that link i would like to update a field in a table of a mysql db (this field is a datestamp).
i have a function written in php that updates the record as required, and it works fine if i test call it from within the html ie <?php callfunction()?>
i would like to call this function when the user clicks on the link.
from what i understand you cant really do this and need to use javascript instead. so is there someway to wrap my php update script into a javascript so that i dont need to worry about the hassles of controlling the db with javascript for this one little function, then i would simply use an onclick to call the javascript
thanks for any direction