title: How can I style a PHP echo text?
body: <p>I have the following code;</p>
  
  <pre><code>&lt;?php
      function countryCityFromIP($ipAddr)
      {
          $url = "http://api.ipinfodb.com/v3/ip-city/?key=5cfaab6c5af420b7b0f88d289571b990763e37b66761b2f053246f9db07ca913&amp;ip=$ipAddr&amp;format=json";
          $d = file_get_contents($url);
          return json_decode($d , true);
      }
  
      if (isset($_REQUEST['submit']))
      {
         $ip = countryCityFromIP($_REQUEST['ip']);
  
         //print_r($ip);
         echo $ip['cityName'];
         echo $ip['countryName'];
      }
  ?&gt;
  
  &lt;form method="post"&gt;
      &lt;input type="text" name="ip" /&gt;
      &lt;input type="submit" name="submit" value="Find" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I need to style "echo $ip['cityName']" here. I tried a lot methods, but I am only getting an error.</p>