Reply to Re: mysql update and checkboxes

Your name:

Reply:


Posted by Geoff Berrow on 06/25/06 01:43

Message-ID: <upSdnV7otMxIdQDZUSdV9g@ptd.net> from IchBin contained the
following:

> [X] classic = 1
> [X] rock = 2
> [_] ballad = 4
> [_] 80's = 8
> [X] 90's = 13
>
>Example, above the bucket value would be 16
>
>if you had 6 the you know it is 'rock' and 'ballad'
>if you had 10 the you know it is 'rock' and '80's'
>... and so on.....

Wow that's neat. But as we have explode and implode wouldn't it be
simpler to just store the genres as a comma separated list?

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация