The title kinda says it all. I have a form with a php backend to setup data for processing to paypal, but I need to run a php function when the user clicks the buynow button. I still need the button to post to paypal and xfer, but I need a secondary php function run as well. Anyone have ideas or suggestions? Thanks!
use AJAX. with AJAX you can send requests to serversided pages without having to refresh/submit the form. Just google around a bit, and you'll find some scripts. It's not very difficult, and always looks very nice on a website
Indeed, definitely go for AJAX. It does exactly what you're looking for. You'll have to write a specific part of PHP code for it too (in fact just the function), but I think you can certainly handle that lol
Isn't Ajax something I used to use to clean the kitchen with? lol Thanks guys, I'll have a look into it and hopefully won't pass out in the process. ;P