public function fetch_string($sql)
    {

        if (empty($sql)) return false;

        $res = $this->query($sql);
        $row = @mysql_fetch_array($res);

        return (string)$row[0];
    }
public function fetch_string($sql)
    {

        if (empty($sql)) return false;

        $res = $this->query($sql);
        $row = @mysql_fetch_array($res);

        return (string)$row[0];
    }
public function fetch_string ( $ sql ) { if ( empty ( $ sql ) ) return false ; $ res = $ this -> query ( $ sql ) ; $ row = @ mysql_fetch_array ( $ res ) ; return ( string ) $ row [ 0 ] ; }
fetches a string wrapper for
easy use

@param $sql string

@return string
fetches a string wrapper for easy use