$result = $db->sql_query("SELECT lid, cid, title, url, description, date, hits, downloadratingsummary, totalvotes, totalcomments, filesize, version, homepage FROM ".$prefix."_downloads_downloads WHERE title LIKE '%$query%' OR description LIKE '%$query%' ORDER BY $orderby LIMIT $min,$downloadsresults");
and add
Code:
name,
after
Code:
date,
and then add
Code:
OR name LIKE '%$query%'
after
Code:
OR description LIKE '%$query%'
then find
Code:
$fullcountresult = $db->sql_query("SELECT lid, title, description, date, hits, downloadratingsummary, totalvotes, totalcomments FROM ".$prefix."_downloads_downloads WHERE title LIKE '%$query%' OR description LIKE '%$query%' OR name LIKE '%$query%' ");
Joined: Jun 02, 2004 Posts: 268 Location: Englewood, OH
Posted:
Thu Jun 10, 2004 3:15 pm
Does this work for articles too? I am finding that when I look at a news article written by someone.....and click "read more by" that author, I get a search page, but when I try and search, it always sends me to that empty search page over and over no matter which options I choose.....
Last edited by SmackDaddy on Fri Jun 11, 2004 7:50 am; edited 1 time in total
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum