Author |
Message |
animeal
Junior WebHelper
Joined: 30 May 2002
Posts: 8
|
Posted:
Thu May 30, 2002 3:56 am (22 years, 7 months ago) |
|
Hello, just need some small help here. Im trying to get a search option working for my web site. Here is part of the search.php file....
// Mysql varialbes
$sql = array(
"user" => "", // username
"pass" => "", // password
"host" => "http://www.anime-alpha.com", // Mysql host
"db" => "" // Mysql database
);
Im wondering what should I put for "host" and "db"?? I didnt put anything for db, however, I put my domain name for "host" => , is it correct? Plz help me out with BOTh of these options.
thank you |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu May 30, 2002 5:41 am (22 years, 7 months ago) |
|
Where are you hosted? |
________________________________
|
|
|
|
animeal
Junior WebHelper
Joined: 30 May 2002
Posts: 8
|
Posted:
Thu May 30, 2002 8:22 am (22 years, 7 months ago) |
|
You mean my host? My host is hostica.com
Plz help me! |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu May 30, 2002 4:09 pm (22 years, 7 months ago) |
|
|
|
|
animeal
Junior WebHelper
Joined: 30 May 2002
Posts: 8
|
Posted:
Thu May 30, 2002 5:11 pm (22 years, 7 months ago) |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu May 30, 2002 5:15 pm (22 years, 7 months ago) |
|
Did you create the database you're trying to connect to? Are you using the right username and password? |
________________________________
|
|
|
|
animeal
Junior WebHelper
Joined: 30 May 2002
Posts: 8
|
Posted:
Thu May 30, 2002 5:20 pm (22 years, 7 months ago) |
|
oh man, more problems. Im trying to create a search option for my site. It requres to setyp the phpMyAdmin, and I dont really know how to do it!
Im so screwed! |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu May 30, 2002 5:25 pm (22 years, 7 months ago) |
|
If your host doesn't have a form for creating a database, you'll have to email them to ask them to create it... |
________________________________
|
|
|
|
animeal
Junior WebHelper
Joined: 30 May 2002
Posts: 8
|
Posted:
Thu May 30, 2002 5:41 pm (22 years, 7 months ago) |
|
Hey Daniel, do you know how to setup the search option for the site?
animeal |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu May 30, 2002 6:02 pm (22 years, 7 months ago) |
|
What script are you using? What you have entered looks fine to me (except for the host change which I posted a link for). |
________________________________
|
|
|
|
animeal
Junior WebHelper
Joined: 30 May 2002
Posts: 8
|
Posted:
Thu May 30, 2002 7:01 pm (22 years, 7 months ago) |
|
Hey Daniel,
here is the .zip file of the search script. http://www.redtempest.com/files/redsearch.zip There are just 3 or 4 files and one main "README" file which show u how to install. It looks very eazy, there are like only 4 steps, however, I have no idea what to do. Can you plz take a glance at it and perhaps test it out and see if it works on your server? I would like to know how to set it up. Since you know php, it proably will take you only 5 min.
thanx
animeal |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu May 30, 2002 7:08 pm (22 years, 7 months ago) |
|
Sorry, I'm leaving for Germany tomorrow, and I've got some packing to do . Could someone else take over please? |
________________________________
|
|
|
|
animeal
Junior WebHelper
Joined: 30 May 2002
Posts: 8
|
Posted:
Thu May 30, 2002 8:39 pm (22 years, 7 months ago) |
|
k, maybe when you come back???? |
|
|
|
|
|