You are here: Re: random selection of CSV's « PHP Programming Language « IT news, forums, messages
Re: random selection of CSV's

Posted by Jerry Stuckle on 02/23/06 21:39

monomaniac21 wrote:
> Thanks noone, how can you convert a text field into an array? or how
> can you create an array field in mysql?
>

You don't create an array field in MySQL. Rather, you create a second
table with a one-to-multiple linkage.

In this case you would have two columns - id and numval (or a more
appropriate name for whatever you're using it for). id would match the
id in the first table. numval would hold one value in each row. So,
you might end up with something like:

id numval
4 1
4 1.2
4 4
4 5.6


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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