php variable within bracket
What Im trying to do is pull page titles names from DB depending on City
example
$city = "Houston";
$title = $settings['PageTitle$city'];
I get no result even though $settings['PageTitleHouston']
exists in the database
using $settings['PageTitleHouston']
works but I Need $city in the variable as I am doing many cities.
Any suggestions?
( I did search about 30 minutes for answers)