Skip to content
Advertisement

Tag: send

fetch send formdata and recieve it from php

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

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

Advertisement