PDA

View Full Version : Fresh Intall


timy
02-25-2006, 12:51 AM
Hi Everyone,
I uploaded all the files to a search directory with the changes made to the configuration file. I'm gettin the search form but no results at all. I'm sure I'm just not editing the configuration files properly and any help would be greatly appreciated. Thanks a bunch. :o
By the way, I want my links to show like this:
www.mysite.com/article.php?article_id=
And I edited the other stuff like this:

$db_tbl = "news";
$db_col[0] = "article_header";
$db_col[1] = "article_body";

$db_show[2] = "article_id";

Winston
02-25-2006, 03:09 PM
Hi, let's say your article links are like so:

http://www.yoursite.com/article.php?article_id=9

And you are using an HTTP link like so:

$http_link = "http://www.yoursite.com/article.php?article_id=";

Then set the following:

// this is the table column name containing 9
$db_show[2] = "article_id";

timy
02-25-2006, 06:11 PM
Thanks Winston for your prompt reply!
It's still not working, but at least now I know that this part of the conficuration is correct.
The problem could be related to my database, so I'm going to doublecheck that before I place a posting again.

timy
02-25-2006, 06:37 PM
My fault!!! I was using the wrong fields. Everything wroks great now. Thanks again.