View Single Post
Old 08-13-2015, 06:48 AM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by AdultKing View Post
But even then

Code:
if ($geo == "") {
   $geo['city'] = "Your City";
?>
won't work will it ?

I'm not on my dev machine so I can't try it.
It's not "correct" but php is very forgiving, it won't error out and just in that isolated piece of code will work. He should be comparing to $geo['city'] though.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote