Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

store images in a database in a webpage

Featured Replies

Dear all,

I would like to know, how to store images in a database in a webpage.

What i have been doing is designing a shopping site, so it must require images to be stored into the database. Your help would be kindly apppreciated.

 

P.S. I am using WAMP

 

Thank you

Upload your images and store the image filename in your database. Use mysqli to query the database for the image filename to use in your html. You may want to store the full url in the database or just the filename, just be sure you code the path correctly. You can also write a script to upload images from your website to the database. If this is what you're after, let me know and I'll post more.

Hello.

you can either store the name of image in DB or if you want to save the image itself in DB, the traditional relational DB will not work! you are going to be in need of Object Oriented DB or Object Relational DBs to store image itself in DB.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.