Hi does any one know a possible way to update a table in my mysql database using the javascript onclick function?

Any examples and advice would be appreciated!

It's been racking my brain for the past 2 days!

Thanks
Jamie