0

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?

Yunus Temurlenk
  • 4,085
  • 4
  • 18
  • 39
  • 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

0 Answers0