Please help me to fix this code :(
echo'<td style=" width: 20%"><input type="button" value="inactive" onclick="set_user_inactive($user_id)">
</td>';
I need function set_user_inactive($user_id) works if user click on the button in the table.
I won't use form I need it v.simple
html and php
Thanks