<br><br>Hi i got error<br><br>recoverable fatal error: Object of class mysqli_result could not be
converted to string in
F:\wamp\www\vijaishopping\themes\garland\block.tpl.php on line 10.<br><br><br>Hi i tried custom module, it through the error ,<br><br>What i do now, <br><br>my snippet below<br><br><?php<br><br>function alphabeticalsearch_block($op = 'list', $delta = 0, $edit = array()){<br>
<br> if($op == "list") {<br> $block = array();<br> $block[0]["info"] = t('Alphabetical Search');<br> return $block;<br> } <br> elseif($op == 'view'){<br>
$alphabetical_search_result = db_query("SELECT node.nid AS nid, node.title AS node_title, node_revisions.body AS node_revisions_body,<br> node_revisions.format AS node_revisions_format FROM node node LEFT JOIN node_revisions node_revisions <br>
ON node.vid = node_revisions.vid where node.title like '%a'"); <br> <br> $block['subject'] = 'Click to send request';<br> $block['content'] = $alphabetical_search_result;<br>
return $block;<br> }<br><br>}<br><br><br>