Reply
php mysql first database
Old 05-16-2008, 07:24 AM php mysql first database
Skilled Talker

Posts: 58
Dear PHP aspirants:
i'm new to PHP,i'm able to connect localhost but not able to connect local database,i wonder ,if you could also refer me where to upload php files in web server.please provide a simple PHP program to access mysql & database in web server

Your response is very precious to me.

Thank you
jdial is offline
Reply With Quote
View Public Profile Visit jdial's homepage!
 
When You Register, These Ads Go Away!
     
Old 05-16-2008, 11:59 AM Re: php mysql first database
JeremyMiller's Avatar
Full-Time TeraTasker

Posts: 955
Name: Jeremy Miller
Location: Reno, NV
May want to check out PHPMyAdmin since you're new.
__________________
Jeremy Miller - TeraTask Technologies, LLC
Content Farmer - Automated Posting for Content & Blog Sites
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 05-17-2008, 03:52 AM Re: php mysql first database
Average Talker

Posts: 15
firstly, you need to check PHPMyAdmin. In this create table and database. write two code lines to connect your database.
$link=mysql_connect("localhost","root"," ");
mysql_db("joomla",$link);
in second line give name of database.
__________________
Web Site Development

Free Templates
gazal is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to php mysql first database
 

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11205 seconds with 13 queries