hey guys,
i want to upload a pic from a computer and i want that the pic be displayed at a particular place in the website. This pic should always be there whenever the user log's in.
Please give me some suggestions on how the picture can be stored in the database.

Recommended Answers

All 2 Replies

Well, if you're using a web host you can simply FTP to the server and drag and drop the image to where you need it.

What kind of host are you using?

hello anuj..
if you want to store images into your database...
Its very best thing to store image path to database and store image into a folder....
Then retrieve that image whanever you want...
For this follow this tutorial:
http://www.php-mysql-tutorial.com/php-mysql-upload.php

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.