ok gracias cleek, coloque el codigo pero ahora no me vota ningun resultado solo me muestra lo sgte:
   Código PHP:
   
<table>
<tr><td colspan="25"><em>Existen <b><? echo $iid; ?></b> resultados, para su criterio de búsqueda</em></TD></tr>
<tr>
<td colspan="6">
    <table><tr>
    <td class="linkboxl" onMouseOver="high(this);" onMouseOut="low(this);" onClick="window.location.href='./buscar2.php?offset=<?echo $prev?>';" nowrap> <a href="./buscar2.php?offset=<?echo $prev?>" class="menu"><strong><< <?echo $item_perpage?> Anteriores</strong></a> </td>
    <td class="linkboxl" onMouseOver="high(this);" onMouseOut="low(this);" onClick="window.location.href='./buscar2.php?offset=<?echo $next?>';" nowrap> <a href="./buscar2.php?offset=<?echo $next?>" class="menu"><strong><?echo $item_perpage?> Siguientes >></strong></a> </td>
    <td class="linkboxl" onMouseOver="high(this);" onMouseOut="low(this);" onClick="window.location.href='./buscar2.php?offset=<?echo $prev?>';" nowrap> <a href="./index.php" class="menu"><strong>Inicio</strong></a> </td>
    </tr></table>
</td>
</tr>
</table>   
  y donde va 
 Código PHP:
    <? echo $iid; ?>    
   me muestra el total de registro que hay en la base de datos mas no me muestra el total del resultado de la busqueda. te agradeceria muchosi me puedes ayudar.
Gracias.