[Mediawiki-l] Simple search hack problems

Moonlight Embrace moonlightembrace at acadine.org
Fri Sep 24 20:08:00 UTC 2004


I'm using this line in searchengine.php

mysql_query("INSERT INTO wsearch (usersearch) VALUES ('".$_REQUEST['search']."')") or die(mysql_error()); 

however, I'm confused as where to put it, either i get just search querys and not the "go"s or I get a No Database Selected error.

-Moonlight Embrace


More information about the MediaWiki-l mailing list