+ 1
I need help. So how to make any sql requete with diferents buton submit on one form .
php sql on form
3 Respostas
+ 2
use javascript to target the button onclick event and call php code with sql query.
0
if(isset($_POST['btn1'])) {
// code
}else if (isset($_POST['btn2'])) {
// code
}
0
tkt my dear