Jump to content

Array related.


ram4nd

Recommended Posts

solved it myself like:

<?php
$arrays = array(
array('php', 'cms','frameworks','frameworks'),
array('blender', 'modeling','animation')
);

foreach($arrays as $array) {
echo $array[0].'<hr />';
$count = count($array);
for($i = 1;$i < $count; ++$i) {
	echo $array[$i].'<br />';
}

}
?>

Link to comment
https://forums.phpfreaks.com/topic/197363-array-related/#findComment-1035987
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.