Hello fellows, Please how do one handle events in PHP controls? Or in other words do PHP have events handlers? I am directly referring to the ability to control events like mouse roll over, mouse on focus, mouse out of focus etc? I am presently working on a project that submits a form to a database.
Or in other words do PHP have events handlers?
no. PHP is not a client-side language and thus cannot interact with the user (it may be different for PHP-GTK).
@ Dormilich.
So in other words, all that will include interaction with a form has to be done with JavaScript? I am directly referring to the ability to control events like mouse roll over, mouse on focus, mouse out of focus etc? I am presently working on a project that submits a form to a database and my boss was like he would want an event to be fired even on mouse roll over, or after data entry into a input field and not until the submit button is clicked.
So then I guess I will just have to learn JavaScript then? Thanks!
Yes, Javascript is your only option on the frontend.