I have a very simple Array that contains a link, and the link title. When I print the Values, for some reason the "3rd" value is missing. I have double checked to make sure the 3rd value exists, and it does. I do not understand what is happening? Any suggestions would be great!!!
<?php
$resources = array(
"$link" => "$link_name",
"$link1" => "$link_name1",
"$link2" => "$link_name2",
"$link3" => "$link_name3",
"$link4" => "$link_name4"
);
foreach ($resources as $resources_link => $resources_name) {
echo "<a href=\"$resources_link\">$resources_name</a><br>";
}
?>
The out put looks like: (Missing the 3rd value) Link1 Link2 Link4 Link5