L. de Boer L. de Boer - 1 year ago 97
PHP Question

Hover function in PHP?

Is there a way to use code something among the lines of:

if mouse.hover = True

in php?

Answer Source

No you can't, because "hover" is a client-side event.

PHP as a server language can't check client actions.

The only way is using CSS for style event (changing color) or JS (like jQuery) for dynamic event.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download