BetaONE will rise again!


 
Prev Previous Post   Next Post Next
  #1  
Old 22nd Jul 03, 02:59 PM
SlickVic78's Avatar
SlickVic78 SlickVic78 is offline
Senior Member
 
Join Date: Sep 2001
Location: New York, USA
Posts: 515
SlickVic78 is an unknown quantity at this point
I've been working on my online photo/video album for the past year now. I originally had all the Main Categories/Picture Categories information witihin a single flat file (all set up within arrays). This was all fine and dandy until I wanted to start setting up sub categories (an example - a sub category for the pic category of July 4th (the sub category would branch to 2002, 2003, etc...). The site was primarily coded in Javascript and HTML. Things were getting a little hairy recently and I was about to give up. It was becoming more of a pain in the @ss to work with this now enormous flat file because I had picture captions that would appear in the picture window below the picture.

I don't want to stop my never ending project. So I thought about making a MySQL database which would be nice because I could make an admin page that could call up individual records to edit them if need be, as well as adding/deleting photos to the archive. So I decided to pick up PHP as another language.

I really like PHP and what it has to offer. I have a book (PHP Fast and Easy Web Development) that I've been learning from. I've gone through 2/3s of the book within 5 days. The concepts are fairly similar to other languages which makes this pretty easy to pick up.

Ok, enough rambling... Here is what I am asking help on... I never worked on a database before. I've worked through the examples in the book with no problems... But I am having issues visualizing what I need to do in order to set up an efficient database for my online photo/video album.

1) How many tables would I need?
2) Can all the info (Main Categories/Picture Categories/Sub Categories) reside in one table, or would that need to be split up.
3) What would be the link from Main Category to Sub Category (some ID?).

Any help you can provide would greatly be appreciated. Sorry for the rather long email, but I wanted to be as descriptive as possible. If more information is needed, please let me know.

Much thanks in advance!
-SlickVic78
__________________
  • Pentium 4 3.20GHz Processor
  • 1 Gig DDR 400MHz RAM
  • 100 Gig 7200 RPM Western Digital HDD
  • 80 Gig 7200 RPM Western Digital HDD
  • Lite-On LTR-52327S CD-RW Burner
  • Lite-On SOHW-1633S DVD Burner
  • ATI Radeon 9700 Pro
  • Sound Blaster Audigy
  • Microsoft Windows XP Pro SP-2
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Update Puts a Toe Into Big Vendors' Database Turf NewsBot NeoWin News 0 27th Oct 04 08:30 PM
New iPod Photo Sony BetaONE News 0 27th Oct 04 06:45 AM
Apple Introduces iPod Photo & U2 iPod NewsBot NeoWin News 0 26th Oct 04 08:30 PM
Apple Introduces iPod Photo NewsBot NeoWin News 0 26th Oct 04 07:30 PM


All times are GMT +1. The time now is 10:51 PM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.