Jump to content

how to deal with events in php


shubhajeet

Recommended Posts

you can only do that by having an HREF on the event bringing you back to the page, passing a variable for the PHP code to work with, all PHP code is parsed and acted on before it is sent to your client side, therefore if you want PHP to act on something you have to refresh the page somehow or send it away and bring it back
what should i do if i required to disconnect a connection on click event of a button. what should i do. how can i pass a value of a connection to new page of php. i am trying to send it via

$variable = $odbc_pconnect(....);
<a href="link.php?variable">log of</a>.


but not working at all.

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.