944,178 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2528
  • PHP RSS
Aug 9th, 2005
0

Search Results Not Found

Expand Post »
Hi,
I bought a turnkey website that is just like the-car-site(.com)
For some reason when a user logs in and posts an item for sale, the item does not show up in the search results. Can someone tell me what to do to fix it?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
n2ads is offline Offline
23 posts
since May 2005
Aug 10th, 2005
0

Re: Search Results Not Found

I also wanted to add that I think it has somethign to do with my search.php. I think it is trying to reference member data stored in a database but can't find it. Just a thought. I am new to all this.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
n2ads is offline Offline
23 posts
since May 2005
Aug 11th, 2005
0

Re: Search Results Not Found

Have you check the database connection is ok? database name and table name too!

What error you get? or simply no results show? If you get error, fix it, otherwise you may have miss out something (variables such as id, date etc) in your script to call the listings/ads. You may use wildcard (%) to search your database. For example:
[php]$keyword = "%".$_POST['keyword']."%";
$query = "SELECT * FROM table WHERE description LIKE '$keyword' LIMIT 30";[/php]
Reputation Points: 10
Solved Threads: 7
Posting Whiz in Training
zippee is offline Offline
294 posts
since Jan 2005
Aug 11th, 2005
0

Re: Search Results Not Found

Quote originally posted by zippee ...
Have you check the database connection is ok? database name and table name too!

What error you get? or simply no results show? If you get error, fix it, otherwise you may have miss out something (variables such as id, date etc) in your script to call the listings/ads. You may use wildcard (%) to search your database. For example:
[php]$keyword = "%".$_POST['keyword']."%";
$query = "SELECT * FROM table WHERE description LIKE '$keyword' LIMIT 30";[/php]
I do not get any error. I just get a no show. If i add a member through my site admin panel, they can post a listing through the webpage with no problem. It is only if they register themselves and then try to post.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
n2ads is offline Offline
23 posts
since May 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Redirect AFTER Headers
Next Thread in PHP Forum Timeline: please any one here can help me





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC