Go Back   Web Server Hosting Forum by BODHost > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-09, 02:24
BOD Member
 
Join Date: Mar 2009
Posts: 5
Default PHP full help....

Good day experts.... im a new member of this great forum.... im being ask by my professor to have a grading system using PHP..... but i really dont know how to connect the database to the scripting language..... can anyone guide me???? thanks in advance....
Reply With Quote
  #2 (permalink)  
Old 03-02-09, 14:27
BodShane's Avatar
Chief Operating Officer
 
Join Date: Dec 2006
Posts: 1,087
Send a message via AIM to BodShane Send a message via MSN to BodShane
Default

Here's how to connect to your php database :

Quote:
<?php
$CONFIG['dbserver' ] = 'localhost' ;
$CONFIG['dbuser' ] = 'leahkryg_copp1' ;
$CONFIG['dbpass' ] = 'ouMVqqM5Hrd1' ;
$CONFIG['dbname' ] = 'leahkryg_copp1' ;
$CONFIG['TABLE_PREFIX'] = 'cpg_' ;
?>
Please let us know if you need any further information.

Regards,

Shane Phillips
__________________
Redundant Dedicated Server Hosting Solutions Only at BODHost
24x7 Toll-Free ph. : +1. 866-662-0909
Email : sales@bodhost.com | MSN : sales@bodhost.com
Reply With Quote
  #3 (permalink)  
Old 03-02-09, 16:47
Moderator
 
Join Date: Dec 2008
Posts: 257
Post

Please let us know if this works for you

Hoe to connect a database to php (How to Connect a Database with php)
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 23:22.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.