Quick PHP question
Quick PHP question
Out of context: Reply #9
- Started
- Last post
- 25 Responses
- acescence0
you could use the same var if it were an array..
<?php
$thisPage = array ( "Ladbroke", "Recent Projects" );
if ( in_array ( "Ladbroke", $thisPage ) ) {
echo "found Ladbroke";
}?>