Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 1st Jan 2010, 07:52 PM   #1
Active Warrior
 
Join Date: 2009
Location: Los Angeles CA
Posts: 68
Thanks: 10
Thanked 0 Times in 0 Posts
Lightbulb
Help with syntax
Share on: 
fb share twitter share gplus share more share

I am going to attempt to install a PHP Script. I am not experienced at this.

But the Install Instructions seem simple enough for me to try.

I just need to edit the configDOT PHP file with MYSQL Database information.

I do know how to create the database and user, PW and attach the user to the database in CPanel.

But I just want to check that I understand how to edit the PHP file correctly.

I have attached a picture of the file.

I am not sure what to enter in the Server line

and do my entries of data go between the ' ' ?

Thanks very much

Lawrence please see attached screenshot
Attached Thumbnails
Help with syntax-2010-01-01_174028.jpg  
lawed is offline  
Unread 1st Jan 2010, 08:29 PM   #2
VIP Warrior
War Room Member
 
ereadergold's Avatar
 
Join Date: 2008
Location: Montreal Canada
Posts: 2,390
Thanks: 1,017
Thanked 836 Times in 572 Posts
Blog Entries: 1
Default
Re: Help with syntax
Share on: 
fb share twitter share gplus share more share

Hi Lawrence

Yes, the information goes between the quote symbols.

You have created the database so you should already know the database name, user name and password. You'll want to double-check the name, as many hosts (i.e. Hostgator) preceed the name you provided with your account name - just display the database details in your CPanel to be sure.

As for the server name it may have been provided to you by your host, it will be an IP address or a domain name. If it isn't then the value is probably 'localhost', indicating that the database is hosted on the same server as your web site.

Bill
ereadergold is offline  
Unread 1st Jan 2010, 09:41 PM   #3
Active Warrior
 
Join Date: 2009
Location: Los Angeles CA
Posts: 68
Thanks: 10
Thanked 0 Times in 0 Posts
Default
Re: Help with syntax
Share on: 
fb share twitter share gplus share more share

OK Bill

Thanks
lawed is offline  
Unread 2nd Jan 2010, 03:09 PM   #4
Active Warrior
 
Join Date: 2009
Location: Los Angeles CA
Posts: 68
Thanks: 10
Thanked 0 Times in 0 Posts
Lightbulb
Re: Help with syntax
Share on: 
fb share twitter share gplus share more share

Lo and Behold-

The script is not working

The admin isn't opening- and all I had to do was config a database nd upload the script.

Well, it may be due to my vision problem... a syntax error or something.

I'm not giving up. I'm determined to get something going and earn. But, I do have hiring a webmaster at the top of my list. When I can afford it
lawed is offline  
Unread 2nd Jan 2010, 03:41 PM   #5
Active Warrior
 
Join Date: 2009
Location: Los Angeles CA
Posts: 68
Thanks: 10
Thanked 0 Times in 0 Posts
Default
Re: Help with syntax
Share on: 
fb share twitter share gplus share more share

It WORKS!


Sorry for the false alarm Warriors.

I was able to troubleshoot the scripte myself after all.

Tahnks again

Lawrence
lawed is offline  
Closed Thread


Bookmarks

Tags
syntax


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 06:18 AM.