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
Comments on Link to Search Results
Member
Usergroup: Customer
Joined: Sep 30, 2005
Total Topics: 7
Total Comments: 20
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Member
Usergroup: Customer
Joined: Sep 30, 2005
Total Topics: 7
Total Comments: 20
search.php?action=filter&filled=1&whichtype=links&title=microsoft&nameconditi on=like
does that look okay?
thanks paul
Member
Usergroup: Customer
Joined: Sep 30, 2005
Total Topics: 7
Total Comments: 20
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