Home | History | Annotate | Download | only in doc

Lines Matching full:"$ result"

131         $result = mysql_query ("SELECT ID,Count FROM Queries WHERE Value='$word'");
132 if ($result) {
133 $i = mysql_num_rows($result);
135 mysql_free_result($result);
138 $id = mysql_result($result, 0, 0);
139 $count = mysql_result($result, 0, 1);
148 $result = NULL;
151 $result = mysql_query ("SELECT words.relevance, symbols.name, symbols.type, symbols.module, symbols.descr FROM words, symbols WHERE LCASE(words.name) LIKE LCASE('$word') and words.symbol = symbols.name ORDER BY words.relevance DESC LIMIT 75");
152 if ($result) {
153 $j = mysql_num_rows($result);
155 mysql_free_result($result);
159 return array($result, $j);
162 $result = NULL;
165 $result = mysql_query ("SELECT relevance, name, id, resource, section FROM wordsHTML WHERE LCASE(name) LIKE LCASE('$word') ORDER BY relevance DESC LIMIT 75");
166 if ($result) {
167 $j = mysql_num_rows($result);
169 mysql_free_result($result);
173 return array($result, $j);
176 $result = NULL;
179 $result = mysql_query ("SELECT wordsArchive.relevance, wordsArchive.name, 'xml-list', archives.resource, archives.title FROM wordsArchive, archives WHERE LCASE(wordsArchive.name) LIKE LCASE('$word') and wordsArchive.ID = archives.ID ORDER BY relevance DESC LIMIT 75");
180 if ($result) {
181 $j = mysql_num_rows($result);
183 mysql_free_result($result);
187 return array($result, $j);
190 $result = NULL;
193 $result = mysql_query ("SELECT XSLTwords.relevance, XSLTsymbols.name, XSLTsymbols.type, XSLTsymbols.module, XSLTsymbols.descr FROM XSLTwords, XSLTsymbols WHERE LCASE(XSLTwords.name) LIKE LCASE('$word') and XSLTwords.symbol = XSLTsymbols.name ORDER BY XSLTwords.relevance DESC LIMIT 75");
194 if ($result) {
195 $j = mysql_num_rows($result);
197 mysql_free_result($result);
201 return array($result, $j);
204 $result = NULL;
207 $result = mysql_query ("SELECT relevance, name, id, resource, section FROM XSLTwordsHTML WHERE LCASE(name) LIKE LCASE('$word') ORDER BY relevance DESC LIMIT 75");
208 if ($result) {
209 $j = mysql_num_rows($result);
211 mysql_free_result($result);
215 return array($result, $j);
218 $result = NULL;
221 $result = mysql_query ("SELECT XSLTwordsArchive.relevance, XSLTwordsArchive.name, 'xslt-list', archives.resource, archives.title FROM XSLTwordsArchive, archives WHERE LCASE(XSLTwordsArchive.name) LIKE LCASE('$word') and XSLTwordsArchive.ID = archives.ID ORDER BY relevance DESC LIMIT 75");
222 if ($result) {
223 $j = mysql_num_rows($result);
225 mysql_free_result($result);
229 return array($result, $j);
251 list($result, $j) = queryWord($word);
254 $relevance = mysql_result($result, $i, 0);
255 $name = mysql_result($result, $i, 1);
256 $type = mysql_result($result, $i, 2);
257 $module = mysql_result($result, $i, 3);
258 $desc = mysql_result($result, $i, 4);
271 mysql_free_result($result);
276 list($result, $j) = XSLTqueryWord($word);
279 $relevance = mysql_result($result, $i, 0);
280 $name = mysql_result($result, $i, 1);
281 $type = mysql_result($result, $i, 2);
282 $module = mysql_result($result, $i, 3);
283 $desc = mysql_result($result, $i, 4);
296 mysql_free_result($result);
301 list($result, $k) = queryHTMLWord($word);
304 $relevance = mysql_result($result, $i, 0);
305 $name = mysql_result($result, $i, 1);
306 $id = mysql_result($result, $i, 2);
307 $module = mysql_result($result, $i, 3);
308 $desc = mysql_result($result, $i, 4);
318 mysql_free_result($result);
323 list($result, $k) = XSLTqueryHTMLWord($word);
326 $relevance = mysql_result($result, $i, 0);
327 $name = mysql_result($result, $i, 1);
328 $id = mysql_result($result, $i, 2);
329 $module = mysql_result($result, $i, 3);
330 $desc = mysql_result($result, $i, 4);
339 mysql_free_result($result);
344 list($result, $j) = queryArchiveWord($word);
347 $relevance = mysql_result($result, $i, 0);
348 $name = mysql_result($result, $i, 1);
349 $type = mysql_result($result, $i, 2);
350 $url = mysql_result($result, $i, 3);
351 $desc = mysql_result($result, $i, 4);
365 mysql_free_result($result);
370 list($result, $j) = XSLTqueryArchiveWord($word);
373 $relevance = mysql_result($result, $i, 0);
374 $name = mysql_result($result, $i, 1);
375 $type = mysql_result($result, $i, 2);
376 $url = mysql_result($result, $i, 3);
377 $desc = mysql_result($result, $i, 4);
391 mysql_free_result($result);
399 list($result, $j) = queryWord("xml$word");
402 $relevance = mysql_result($result, $i, 0);
403 $name = mysql_result($result, $i, 1);
404 $type = mysql_result($result, $i, 2);
405 $module = mysql_result($result, $i, 3);
406 $desc = mysql_result($result, $i, 4);
419 mysql_free_result($result);
424 list($result, $j) = XSLTqueryWord("xslt$word");
427 $relevance = mysql_result($result, $i, 0);
428 $name = mysql_result($result, $i, 1);
429 $type = mysql_result($result, $i, 2);
430 $module = mysql_result($result, $i, 3);
431 $desc = mysql_result($result, $i, 4);
444 mysql_free_result($result);