How do I add php to button onclick? I dont wish to use jquery as i have been using javascript and i dont wanna complicate things and jqeury is all i could generally find.
does it basically work the same way as in javascript, you make a function using php then call the function using inclick ? e.g. <?php function Myfunction() { } ?> <input type = "button" name="click here" onClick="return Myfunction()";> sorry for my n00b question haha