Jump to content


Photo

design advice please cheers


  • Please log in to reply
1 reply to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 22 July 2006 - 04:35 PM

Advance thank you.

I am currently designing a dig blog system nearly finished but i wanted to know what is better to have each topic in a seprate field or have the topics in one field and order by topic name
cheers.



Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 22 July 2006 - 05:54 PM

If you mean either

a ) Single record with fields  |topic1 | topic2 | topic3 | topic4 | ... | topicN |

or

b ) Multiple records, with one topic per record

    | id | topic    |
    | 1  | topic1  |
    | 2  | topic2  |

Go for b) every time
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users