title: Working with Name.com API (PHP)
body: <p>I'm now working with Name.com API, They have documentary explanation of how to get details.</p>
  
  <p>I've made everything right, But, I can't print the result.</p>
  
  <p>I've done var_dump() to debug and here is the result:</p>
  
  <pre><code>object(stdClass)#4 (2) { 
      ["result"]=&gt; object(stdClass)#5 (2) { 
          ["code"]=&gt; int(100) ["message"]=&gt; string(18) "Command Successful" 
      } 
      ["domains"]=&gt; object(stdClass)#6 (8) { 
          ["mynewdomain.mobi"]=&gt; object(stdClass)#7 (5) { 
              ["avail"]=&gt; bool(true) 
              ["tld"]=&gt; string(4) "mobi" 
              ["price"]=&gt; string(4) "8.99" 
              ["premium"]=&gt; bool(false) 
              ["backorder"]=&gt; bool(false) 
          } 
          ["mynewdomain.net"]=&gt; object(stdClass)#8 (5) { 
              ["avail"]=&gt; bool(false) 
              ["tld"]=&gt; string(3) "net" 
              ["price"]=&gt; string(5) "49.95"
              ["premium"]=&gt; bool(false) 
              ["backorder"]=&gt; bool(true) 
          } 
          ["mynewdomain.org"]=&gt; object(stdClass)#9 (5) { 
              ["avail"]=&gt; bool(true) 
              ["tld"]=&gt; string(3) "org" 
              ["price"]=&gt; string(4) "9.99" 
              ["premium"]=&gt; bool(false) 
              ["backorder"]=&gt; bool(false) 
          } 
          ["mynewdomain.info"]=&gt; object(stdClass)#10 (5) { 
              ["avail"]=&gt; bool(true) 
              ["tld"]=&gt; string(4) "info" 
              ["price"]=&gt; string(4) "3.99" 
              ["premium"]=&gt; bool(false) 
              ["backorder"]=&gt; bool(false) 
          } 
          ["mynewdomain.com"]=&gt; object(stdClass)#11 (5) { 
              ["avail"]=&gt; bool(false) 
              ["tld"]=&gt; string(3) "com" 
              ["price"]=&gt; string(5) "49.95" 
              ["premium"]=&gt; bool(false) 
              ["backorder"]=&gt; bool(true) 
          } 
          ["mynewdomain.biz"]=&gt; object(stdClass)#12 (5) { 
              ["avail"]=&gt; bool(false) 
              ["tld"]=&gt; string(3) "biz" 
              ["price"]=&gt; string(5) "29.95" 
              ["premium"]=&gt; bool(false) 
              ["backorder"]=&gt; bool(true) 
          } 
          ["mynewdomain.me"]=&gt; object(stdClass)#13 (5) { 
              ["avail"]=&gt; bool(false) 
              ["tld"]=&gt; string(2) "me" 
              ["price"]=&gt; string(5) "49.95" 
              ["premium"]=&gt; bool(false) 
              ["backorder"]=&gt; bool(true) 
          } 
          ["mynewdomain.tv"]=&gt; object(stdClass)#14 (5) { 
              ["avail"]=&gt; bool(false) 
              ["tld"]=&gt; string(2) "tv" 
              ["price"]=&gt; string(5) "49.95" 
              ["premium"]=&gt; bool(false) 
              ["backorder"]=&gt; bool(true) 
          }
      } 
  }
  </code></pre>
  
  <p>and this is another short result for listing domains:</p>
  
  <pre><code>object(stdClass)#4 (2) { 
      ["result"]=&gt; object(stdClass)#5 (2) { 
          ["code"]=&gt; int(100) 
          ["message"]=&gt; string(18) "Command Successful" 
      } 
      ["domains"]=&gt; array(0) { } 
  }
  </code></pre>
  
  <p>I tried the following:</p>
  
  <ul>
  <li><p><code>echo $response</code></p></li>
  <li><p><code>echo $response-&gt;domains</code></p></li>
  <li><p><code>echo $response['domains']</code></p></li>
  </ul>
  
  <p>But really, I can't get it to work..Could someone help me with that ?</p>
  
  <p>Thanks in advance,</p>