Let's get right into it; I have this array
Array
(
[0] => Array
(
[url] => Home
[name] => Home
)
[1] => Array
(
[url] => About
[name] => About
)
[2] => Array
(
[url] => contact.php
[name] => Contact
)
)
And this is how I output it,
foreach ($navigation as $nav) {
echo "<li><a href=\"{$nav["url"]}\">{$nav["name"]}</a></li>";
}
But I want to check if the page is at Home, About or Contact and if it is then I want the name value to change into this,
<strong>original_value</strong>I know this can be done with a loop somehow, I just don't know where to start, so any pointers and/or suggestions would be awesome.
