Select data from foreach loop and send it to wordpress database
To insert something to database you should send data with post request, get this data from request and save it. You created code which will insert last row of your loop on post request. You should create form for each of your previous trip and add hidden input fields to have the opportunity to get … Read more