Dear Friends of MediaWiki,
Problem: can't get any search results from my Sanskrit word look up using
index.php as below.
printf('<a href="http://192.168.0.248:8087/index.php?search=' . $word .
' "
&go=GO HTTP/1.1">%s</a> ', $word);
It queried from the same display of Sanskrit words as described below.
Using my own query described below it works. Using index.php and its search
it does not return any results.
I found i could make a query that worked with the displayed Sanskrit words
looked up in the database. That look up got the records by searching words
starting with a specific letter that i gave the UTF8 code for, i.e
"\xE0\xA4\x85" for a Sanskrit letter. So clicking on the displayed Sanskrit
words i could write a query that returned the word and its definition.
"SELECT si_page, si_title FROM saa_searchindex WHERE si_title = '" .
$_GET['search'] . "' order by si_title ");
$search comes from
printf('<tr><td><a href="
http://192.168.0.248:8087/skins/mySearch.php?search=' . $word . ' "
&go=GO
HTTP/1.1">%s</a></td>', $word);
$word comes from the query searching words starting with a specific letter.
while ( $row = mysql_fetch_array($result) ) {
$word = $row["si_title"];