News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

display the search keyword

Started by J. S., November 11, 2005, 04:45:30 AM

Previous topic - Next topic

J. S.

Quoteecho '
<div style="padding: 3px;">', theme_linktree(), '</div>
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-width: 1px 1px 0 1px;">
   <tr>
      <td align="left" class="catbg" width="100%" height="30">
         <b>', $txt[139], ':</b> ', $context['page_index'], '
      </td>
   </tr>
   <!-- begin external search link -->
      <tr>
      <td align="left" class="catbg" width="100%" height="30">
         <b>'. $query .'</b>
      </td>
   </tr>
   <!-- end external search link -->

</table>';


SO.. what am I looking for is the correct value for $query to display the searched keyword. Is there anyone who knows it?

Thanks.

J. S.

I`we found the answer myself:

Quote' . $context['search_params']['search'] . '

Advertisement: