php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "clicking"

What command is needed when clicking on an image to pass the data?

When clicking on an image to pass data, you can use JavaScript to send an AJAX request to a PHP script that processes the data. This way, you can pass...

How can form data be passed to a PHP function upon clicking a button?

To pass form data to a PHP function upon clicking a button, you can use JavaScript to gather the form data and send it to a PHP script using AJAX. The...

How can a cookie be set only upon clicking a button in PHP?

To set a cookie only upon clicking a button in PHP, you can use JavaScript to trigger a request to a PHP script that sets the cookie. This way, the co...

How can a database be updated by clicking on an image in PHP?

To update a database by clicking on an image in PHP, you can use JavaScript to send an AJAX request to a PHP script that updates the database. The PHP...

Is it possible to use JavaScript to disable right-clicking on images?

To disable right-clicking on images using JavaScript, you can add an event listener to the image element that prevents the default context menu from a...

Showing 16 to 20 of 411 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 82 83 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.