change php variable on click event
- by Claudiu
I want to change php variable ($start and $end called by var b1 and var b2) if the user clicks on button. Now I know that php is server side, but how can I do it? I read something about using $get but I don't know how to implement it:
<?php if ( is_user_logged_in() ) { ?>
<input type="submit" value="Start Chat" id="start_chat"…