Jump to content

Need Database for My Products


spluskhan

Recommended Posts

Ha Gyz,

 

I Need Database for my Products:

 

id

image of product

Condition

Product Info

Price

 

And 1 Other thing i want search engine for my site to display data from database.

 

Plz Plz Help Me .

 

I Make the following but its not working:

 

 
id int(10)     No   auto_increment
Image longblob   BINARY No    
name varchar(32) 
 decription varchar(255) 

 

Link to comment
https://forums.phpfreaks.com/topic/275173-need-database-for-my-products/
Share on other sites

  On 3/3/2013 at 6:01 PM, Jessica said:

Don't store images in the database, just the filename. Store images in the filesystem.

 

To be clear, it's a bad idea to store images (file contents) in an RDBMS -- noSQL is great for this stuff (because your files are still accessible from multiple nodes, etc.).

  On 3/3/2013 at 7:13 PM, Jessica said:

Since he posted in MySQL I assumed it's a MySQL db.

 

Of course -- I just mean to say that there's nothing wrong with tying a MySQL DB to a NoSQL document image store -- pick the right hammer for each nail.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.