Jump to content

Run php function in href


Darkmatter5

Recommended Posts

Um, no. JavaScript is client-side, which is why you can run the JavaScript function. PHP is server-side. If you need to run PHP functions you can use JavaScript to call the PHP functions by using Ajax. Google around, I think there are even some tutorials on Ajax on the main PHP Freaks website.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.