For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > September 2007 > Re: [PHP-DB] Database Object









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] Database Object
Chris

2007-09-25, 3:59 am


> ok, both CME and CMD are contract, but differ in it's content, one is
> tower and other is microwave. how to put the class into database ?
> should i made a contract table , a cme and cmd one... ? any suggestion
> ?


I'd have two tables because they are separate data relationships. One
for towers, one for microwaves.

Why would you need to keep the id's & dates separate to the other
information? Wouldn't each entity have a separate id (date's can
obviously be the same) ?

--
Postgresql & php tutorials
http://www.designmagick.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com