473,406 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

lots of data with pictures, how to put it in website database?

Hi guys,
i have lots of data for products (with different categories) and pictures
that i would need it entered into a database on the website. How would i go
about doing so?

i was thinking about an excel sheet with each category as a sheet but i have
no idea what to do about the pictures that will go with each product, (since
i would not want the pictures in the mysql database.)

any ideas?
Jul 19 '05 #1
3 1995
> i have lots of data for products (with different categories) and pictures
that i would need it entered into a database on the website. How would i go
about doing so?

i was thinking about an excel sheet with each category as a sheet but i have
no idea what to do about the pictures that will go with each product, (since
i would not want the pictures in the mysql database.)

any ideas?


The typical solution is to upload your images to a directory in your
website and then store their URL's in MySQL. That way you 'll avoid
considerable overhead and you will use far less memory.
I mostly work by giving the pictures names like [ProductID].jpg. So
you wouldn't need to store anything at all. It is the application that
talks to MySQL that then decides which photo belongs to which product.

Bart
Jul 19 '05 #2
> i have lots of data for products (with different categories) and pictures
that i would need it entered into a database on the website. How would i go
about doing so?

i was thinking about an excel sheet with each category as a sheet but i have
no idea what to do about the pictures that will go with each product, (since
i would not want the pictures in the mysql database.)

any ideas?


The typical solution is to upload your images to a directory in your
website and then store their URL's in MySQL. That way you 'll avoid
considerable overhead and you will use far less memory.
I mostly work by giving the pictures names like [ProductID].jpg. So
you wouldn't need to store anything at all. It is the application that
talks to MySQL that then decides which photo belongs to which product.

Bart
Jul 19 '05 #3
> i have lots of data for products (with different categories) and pictures
that i would need it entered into a database on the website. How would i go
about doing so?

i was thinking about an excel sheet with each category as a sheet but i have
no idea what to do about the pictures that will go with each product, (since
i would not want the pictures in the mysql database.)

any ideas?


The typical solution is to upload your images to a directory in your
website and then store their URL's in MySQL. That way you 'll avoid
considerable overhead and you will use far less memory.
I mostly work by giving the pictures names like [ProductID].jpg. So
you wouldn't need to store anything at all. It is the application that
talks to MySQL that then decides which photo belongs to which product.

Bart
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: google_nospam | last post by:
Thanks in advance for any help. I'm looking for a way to pass data from php to perl. Basically, I want to take some dynamic data from a database, mixed with user input, then reformat it to make a...
10
by: Dave Moore | last post by:
Hi All, I want to be able to store data as part of my website. I'm assuming that I''ll need to use PHP scripts to provide this functionality, but what would the best aproach be to storing data?. I...
0
by: JakeC | last post by:
Hey all, I'm currently redesigning a website that a friend and I started about a year ago. It is a daily surf report so when choosing the best script/language to use for the new design, I found...
5
by: Simon | last post by:
Hi all, I'm hoping that someone could help with the following general question: I'm making a website that manages beta releases of software. It does various things like store bugs, comments,...
2
by: Sune | last post by:
Hi, I'm in the situation that i need to print (to paper) some documents from a database using a website, and i need to manipulate the data on the fly, but my problem is that i don't know how to...
3
by: John | last post by:
Hi We have a staff database app that also stores staff pictures with each staff record. I have been asked to design something so we can send pictures of staff to people's mobiles when they need...
3
by: ulrichwilliam | last post by:
Hello Everybody, I have written a function for new user to register online it collect information about them. It is working fine and the user data are stored on phpmyadmin on a long row. Now i...
1
by: FeelLikeANut | last post by:
My question is partly a language issue (memory) and partly a Web issue (where the program runs), so I hope everyone will be open to helping. Users may submit and store pictures with my program. I...
5
by: countnazgul | last post by:
Hello, I've got very odd problem. I use windows application to store files in data base (MySql) and then to extract this files from data base and save it on hdd. But when i save them back to hdd...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.