I am trying to add the user's own location/cityname to index.php and have gotten real close to making it work, but it seems I am missing some small bit. I can get "Location:" to appear, but the cityname never shows up. I know there is just a small thing I am missing but can't identify exactly what is missing.
The line is written:
print "Location: {$ir['cityname']}";
I know the missing part is the call to cityname. Any help is greatly appreciated.