Running a php code after User clicks a button? [closed]

You can wrap your code in a function and use a button to activate it. Create a button and assign a function to it’s onclick event: <span onlclick=”javaSubscribe();”>Subscribe</span> Now, make an AJAX request to your server after clicking the button: function javaSubscribe() { // We need the ID for user and tag. Let’s retrieve it … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)