- strtoupper: documentation ( source)
- ucfirst: documentation ( source)
<?php
$term = "gg";
if ($term=="mpv" || $term=="bmw" || $term=="mg")
echo strtoupper($term);
else {
echo "£$term";
}
?>
<!-- if(1 === preg_match('~[0-9]~', $string)){
echo "£$string";
}
?>
<?php if ($term=="mpv" || $term=="bmw" || $term=="mg") echo strtoupper($term); else { echo ucfirst($term); }?> -->