Im' getting the error:
Strict Standards: Only variables should be passed by reference
This is the code:
foreach (array_unique($meeting) as $entry) {
if (array_shift(array_values($meeting)) == $entry and $venue =="" or $venue == $entry) {
echo '<b><a href="http://mr-tipster.com/pages/racecard.php?venue='.$entry.'">'.$entry.'</a> </b> ';
if ($venue =="") {
$venue = array_shift(array_values($meeting));
}
} else {
echo '<a href="http://mr-tipster.com/pages/racecard.php?venue='.$entry.'">'.$entry.'</a> ';
}
}
I have seen other messages on here regarding it, but i cannot seem to solve the error