Hello srry for bad english, i’m trying to insert some formdata to my sql database with fetch request, the row was added and the id counts +1, but theres no extra data added to the columns “nomtar”,”destar”,etc JS function on submit form: agregar.php FILE: Answer There’s no need to convert your form data to JSON. Fetch understands FormData directly. Change
Tag: send
How to send a form with 2 values ​from javascript?
I have a form and I want from a javascript function to send the form to php with 2 variables that I have in that javascript function function transfer(old_id){ var select = document….
Send HTML in email via PHP
How can I send an HTML-formatted email with pictures using PHP? I want to have a page with some settings and HTML output which is sent via email to an address. What should I do? The main problem is to attach files. How can I do that? Answer It is pretty simple. Leave the images on the server and send