Web interface db, please.

Asked 2 years ago, Updated 2 years ago, 97 views

For example, if you click the Put Cart button on the web, the value should go into the database Is there any other way to go back to the main after going through php to put the data into the shopping basket db by pressing the button on the main?

(main.html -> addCart.php -> main.html)

I don't want to see it because it's going through an empty page once, is there a way to take care of it directly from the main?

javascript php web

2022-09-22 21:26

1 Answers

Ajax allows you to call addCart.php right there

If you search jquery ajax on Google, there are many examples, so please refer to it


2022-09-22 21:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.