Reply to Problem with dashes-in-my-array

Your name:

Reply:


Posted by luke on 11/24/05 02:19

$myarray = array(
one-two-three,
red-blue-green,
apples-oranges-pears,
);

foreach ($myarray as $value) {
include("folder/" . $value . "/index.php");
}

It seems the dahses in the array values are causing all the problems, if I
remove them it works fine, but I need them in; is there a simple solution?

[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

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