Personally, I like to use as few tables as possible. I would create a table with
Code:
create table tablename(
(ID int not null auto_increment,
date datetime,
user_name text,
key_words text,
photos text,
videos text,
primary key(ID))
...figured it would be easier to just show you.
I would store the photos and videos in two folders on your site and store the locations to the photos and videos in your database. The users would be able to upload files on different days/times. The info could be retrieved from the database with something like
Code:
select * from tablename where user_name =bob and key_words LIKE '%term%'
of course there are many ways of doing what you want and this is just one method.
Bookmarks