database connection

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
svs.venkatesh
Forum Newbie
Posts: 2
Joined: Tue Sep 15, 2009 3:35 am

database connection

Post by svs.venkatesh »

how to do we give database connection in MySql?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: database connection

Post by onion2k »

svs.venkatesh wrote:how to do we give database connection in MySql?
mysql_connect()
User avatar
lord_webby
Forum Commoner
Posts: 44
Joined: Wed Aug 19, 2009 9:01 am

Re: database connection

Post by lord_webby »

ricehigh
Forum Newbie
Posts: 21
Joined: Mon Sep 14, 2009 5:18 pm

Re: database connection

Post by ricehigh »

I agree with lord_webby !

Anyway, you can see the documentation + examples of mysql_connect() here: http://dk.php.net/manual/en/function.mysql-connect.php
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: database connection

Post by jackpf »

:google:
Post Reply