so i'm trying to make the link pop up a javascript message so when the users clicks "yes" it adds or removes a row from my database without redirecting to another php page. is that possible using php?
Asked
Active
Viewed 15 times
0
-
You can try ajax. – Tushar Feb 22 '20 at 17:38
-
Welcome to Stack Overflow. I referred you to another question and its answers; it is relevant to you, because your command from your Javascript popup to your server will, in fact, be a kind of form post. – O. Jones Feb 22 '20 at 17:47
-
AJAX is the way of doing it. Call your php which communicates with your db. – davidev Feb 22 '20 at 17:57