title: Undefined property by passing in standard string
body: <p>It returns Notice: Undefined property: stdClass::$testing@e-mail.com in C:\wamp\www\classes\Profile.class.php       </p>
  
  <p>I know the solution is close... But Why? Please help.</p>
  
  <p>Code as followed: </p>
  
  <pre><code>$this -&gt; set('userFname', $this -&gt; p -&gt; get_value_by_Profile("testing@e-mail.com"));
  
  function get_value_by_Profile($value){
           return $this-&gt;get_from_table("user",$value,"userID",1);    
      }
  
  
  function get_from_table($table,$value,$column,$where){
  
      $this-&gt;dbo-&gt;setFetchMode(Zend_Db::FETCH_OBJ);
  
      $select = $this-&gt;dbo-&gt;select()
      -&gt;from($table)
      -&gt;where($column.' = ?', $where);
      $obj =  $this-&gt;dbo-&gt;fetchRow($select);  
  
      if($obj)
      return $obj-&gt;$value;    
      }
  </code></pre>