Is there a better way to do this? For some reason it's not exactly working right.
_______________
_brian.
Code:
$type_name = ($row_atms['type'] == "free") ? "Free ATMs" : "Other";
$type_name = ($row_atms['type'] == "surcharge") ? "ATM's with surcharge fee" : $type_name;
$type_name = ($row_atms['type'] == "fee") ? "ATM's with our fee" : $type_name;
echo $type_name;
_______________
_brian.