Reply to Re: random selection of CSV's

Your name:

Reply:


Posted by noone on 02/23/06 20:56

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


go to the docs and lookup arrays, explode

Two sites that will help you immeasurably!!
www.mysql.com
and http://us3.php.net/manual/en/funcref.php
then use the search feature


From the docs: http://us3.php.net/manual/en/function.explode.php
// Example 1
$pizza = "piece1,piece2,piece3,piece4,piece5,piece6";

// or you can get the field from a database - coding left to
// the OP - you learn better that way...

$pieces = explode(",", $pizza);
echo $pieces[0]; // piece1
echo $pieces[1]; // piece2

[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

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