Webmastersite.net
Register Log In

Link to Search Results

Comments on Link to Search Results

freshwill
Member

Usergroup: Customer
Joined: Sep 29, 2005

Total Topics: 7
Total Comments: 20
Posted Nov 06, 2005 - 6:19 PM:

hello, trying to link to a specific search term:
search.php?action=filter&filled=1&whichtype=links&namesearch=microsoft&nameconditi on=like

I basically want to display all titles w/ the word Microsoft in it.
Basic search gives everything w/ the word Microsoft in it, include descriptions, etc.

I tried this according to the manual, but i get sql errors:


Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/buygs05/public_html/classes/database.php on line 256

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/buygs05/public_html/classes/database.php on line 108

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 10, 2005 - 7:26 AM:

There is no 'name' field for links, so naturally it won't work when you try to search that field. You're looking for the 'title' field.
freshwill
Member

Usergroup: Customer
Joined: Sep 29, 2005

Total Topics: 7
Total Comments: 20
Posted Nov 10, 2005 - 11:31 AM:

search.php?action=filter&filled=1&whichtype=links&title=microsoft&nameconditi on=like

does that look okay?

thanks paul
freshwill
Member

Usergroup: Customer
Joined: Sep 29, 2005

Total Topics: 7
Total Comments: 20
Posted Nov 10, 2005 - 2:39 PM:

I just tried these and none work:

search.php?action=filter&filled=1&whichtype=links&title=micr osoft&namecondition=like

*This just takes me to the advanced search page..

search.php?action=filter&filled=1&whichtype=links&titlesearch=micr osoft&namecondition=like

*This produces mysql errors:

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/buygs05/public_html/classes/database.php on line 256

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/buygs05/public_html/classes/database.php on line 108
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.