seodevhead
10-25-2005, 04:10 PM
I am developing a php/mysql database app for web visitors to submit their automobile profile. For instance, they will tell a little bit about their car in a form and select a file on their hard drive to upload for the picture of their car.
My question is... where should the BLOB type variable go in my database scheme?? I have a table called "posts" which will include all the form elements submitted by the web visitors (ie, car description, miles on car, color, etc.).... is the "posts" table where I want to add the BLOB image???
The reason I ask this is because there will be a lot of sorting and searching going on within the database and I was wondering if it was smart to have that large BLOB column amongst the other columns in the post table.... should the images have their own table??? Look forward to your suggestions.
My question is... where should the BLOB type variable go in my database scheme?? I have a table called "posts" which will include all the form elements submitted by the web visitors (ie, car description, miles on car, color, etc.).... is the "posts" table where I want to add the BLOB image???
The reason I ask this is because there will be a lot of sorting and searching going on within the database and I was wondering if it was smart to have that large BLOB column amongst the other columns in the post table.... should the images have their own table??? Look forward to your suggestions.
