0
How to use event on PHP?
well... I'm developing a website and I want to add event on a button... if the button clicked.. then it's should do something to the Databases..... I know that event is only on client side (JavaScript) but SQL connection in on server side (PHP) can anyone explain how to do it?
2 odpowiedzi
+ 6
Make that button <input type=submit>
0
List of events here:
https://code.sololearn.com/Wp54T5wuudpZ/#html
Quick inline:
use html5, <button onclick="runFunction();">Button Text</button>