4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 MYSQL database.. Help..
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
animeal
Junior WebHelper
Junior WebHelper


Joined: 30 May 2002
Posts: 8

PostPosted: Thu May 30, 2002 3:56 am (15 years, 4 months ago) Reply with QuoteBack to Top

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
OfflineView User's ProfileFind all posts by animealSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Thu May 30, 2002 5:41 am (15 years, 4 months ago) Reply with QuoteBack to Top

Where are you hosted?

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
animeal
Junior WebHelper
Junior WebHelper


Joined: 30 May 2002
Posts: 8

PostPosted: Thu May 30, 2002 8:22 am (15 years, 4 months ago) Reply with QuoteBack to Top

You mean my host? My host is hostica.com
Plz help me! Sad
OfflineView User's ProfileFind all posts by animealSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Thu May 30, 2002 4:09 pm (15 years, 4 months ago) Reply with QuoteBack to Top

Read this:

http://help.hostica.com/advanced/mysql.html

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
animeal
Junior WebHelper
Junior WebHelper


Joined: 30 May 2002
Posts: 8

PostPosted: Thu May 30, 2002 5:11 pm (15 years, 4 months ago) Reply with QuoteBack to Top

man, I have no idea what Im doing! Can anyone tell me what these errors mean?
http://www.anime-alpha.com/phpMyAdmin/index.php
thank you
OfflineView User's ProfileFind all posts by animealSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Thu May 30, 2002 5:15 pm (15 years, 4 months ago) Reply with QuoteBack to Top

Did you create the database you're trying to connect to? Are you using the right username and password?

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
animeal
Junior WebHelper
Junior WebHelper


Joined: 30 May 2002
Posts: 8

PostPosted: Thu May 30, 2002 5:20 pm (15 years, 4 months ago) Reply with QuoteBack to Top

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! Crying or Very sad
OfflineView User's ProfileFind all posts by animealSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Thu May 30, 2002 5:25 pm (15 years, 4 months ago) Reply with QuoteBack to Top

If your host doesn't have a form for creating a database, you'll have to email them to ask them to create it...

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
animeal
Junior WebHelper
Junior WebHelper


Joined: 30 May 2002
Posts: 8

PostPosted: Thu May 30, 2002 5:41 pm (15 years, 4 months ago) Reply with QuoteBack to Top

Hey Daniel, do you know how to setup the search option for the site?
animeal
OfflineView User's ProfileFind all posts by animealSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Thu May 30, 2002 6:02 pm (15 years, 4 months ago) Reply with QuoteBack to Top

What script are you using? What you have entered looks fine to me (except for the host change which I posted a link for).

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
animeal
Junior WebHelper
Junior WebHelper


Joined: 30 May 2002
Posts: 8

PostPosted: Thu May 30, 2002 7:01 pm (15 years, 4 months ago) Reply with QuoteBack to Top

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 Very Happy
OfflineView User's ProfileFind all posts by animealSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Thu May 30, 2002 7:08 pm (15 years, 4 months ago) Reply with QuoteBack to Top

Sorry, I'm leaving for Germany tomorrow, and I've got some packing to do Sad. Could someone else take over please? Smile

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
animeal
Junior WebHelper
Junior WebHelper


Joined: 30 May 2002
Posts: 8

PostPosted: Thu May 30, 2002 8:39 pm (15 years, 4 months ago) Reply with QuoteBack to Top

k, maybe when you come back???? Very Happy
OfflineView User's ProfileFind all posts by animealSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.099822 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme