Issue #838✓ SolvedOpened February 5, 2018by josefph4 reactions

How do I save the images to database?

快速解答by JulyanoF2

@pranzikkin @pranzikkin it is an array of files:$FILES['files']You can debug and see the response on browser's network (console).As it is passing a single file of each time, the file is passing at the first position, so you can take the name of file ($FILES['files']['name'][0]) the tmp name ($FILES['files']['tmpname']...

Read full answer below ↓

Question

Please do bare with me but it's really hard to understand the documentation. Can you guys help me do do this?

Answers (3)

👍 Most helpfulJulyanoFFebruary 6, 2018

@pranzikkin

@pranzikkin it is an array of files: $_FILES['files'] You can debug and see the response on browser's network (console). As it is passing a single file of each time, the file is passing at the first position, so you can take the name of file ($_FILES['files']['name'][0]) the tmp name ($_FILES['files']['tmp_name'][0])... Reference: PHP - File Upload

arthuralmeidapFebruary 6, 2018

@pranzikkin put the http\https for the url;

something like http://<youraddress>

josefphFebruary 6, 2018

@JulyanoF thank you for the great help. got it working now. @arthuralmeidap thank you for the help. got it working now.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.