Hello,

i would like to be saving images from an online form to a mysql database. what is the php syntax

Google: how to upload files in php there are many tutorials and syntax.

Or furthermore Google: PHP upload to MySql database.

Depends on wther you wish to store the image binary in the MySql database or in a webserver directory and just store the location in the MySql database.

Normally images are usually uploaded to a folder in your webserver (actually a folder in the root folder of your site) and then the details such as image name, path, size stored in the database.
For more on this you can always google. Many tutorials out there!

what you can do is make a folder on the remote site with the name images and when upload an image move the image to the "Image" folder and save the path into the data with the image name. after that when you want to display the image then just get the path from the database and pass it to the IMG tag.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.