How to code a form to allow it's contents show visible for the public | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to code a form to allow it's contents show visible for the public

For example someone uploads a picture through a form and it's visible on the same page for every body both visitors to the webpage to see

9th Aug 2019, 10:27 AM
Damon. A
1 Answer
+ 2
You need a few things: html, css, php and mysql. 1. Firstly, you need to build a html page with form image upload. 2. Then you need to submit form to backend php url. 3. Build the php script with receive body query post request, from form submit. 4. Upload and save the submitted image to a server path 5. Save the submitted image server path and write it to MySQL database. 6. Form an image page with php script with image url (server path) read from MySQL database.
9th Aug 2019, 2:10 PM
Calviղ
Calviղ - avatar