Is it possible to launch a PHP script, client side, using an HTML web page?
If not, is there a way to embed the PHP into the HTML so it can run client side?
I think what you want is JavaScript. PHP is meant for server-side and JavaScript is meant for client side, among other things.
No. PHP cannot be run in browser. Learn JavaScript, alternatively CoffeScript if you don't like JavaScript's syntax.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With