You are here: Problem with dashes-in-my-array « All PHP « IT news, forums, messages
Problem with dashes-in-my-array

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?

 

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

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