You are here: Re: Question about reading data I've created with , delimiter « All PHP « IT news, forums, messages
Re: Question about reading data I've created with , delimiter

Posted by Michael Fesser on 07/16/07 00:49

..oO(rebeccatre@gmail.com)

>Hello, could someone please show me how to do this.
>
>In a single cell in a DB column, I can have multiple kinds of data
>squeezed together delimited by a comma.
>
>like .....
>"datagreen,datablue,dataorange,datawhite,datayellow,datared,datablue, ...
>"

You'll run into trouble with such a design. Read about database
normalization (the above violates the first normal form already).

>If I read that data and have it in a string like $datastring...... how
>do I put it into a array situation?

http://php.net/explode

Micha

 

Navigation:

[Reply to this 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

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