Alternate to MySQL_connect()

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

Alternate to MySQL_connect()

Postby rileychilds » Fri Apr 13, 2012 11:24 am

What else should I be using besides MySQL_connect()?
rileychilds
Forum Newbie
 
Posts: 14
Joined: Mon Feb 06, 2012 6:43 pm

Re: Alternate to MySQL_connect()

Postby Celauran » Fri Apr 13, 2012 11:28 am

User avatar
Celauran
DevNet Resident
 
Posts: 2025
Joined: Tue Nov 09, 2010 3:39 pm
Location: Montreal, Canada

Re: Alternate to MySQL_connect()

Postby rileychilds » Fri Apr 13, 2012 12:28 pm

Example?
rileychilds
Forum Newbie
 
Posts: 14
Joined: Mon Feb 06, 2012 6:43 pm

Re: Alternate to MySQL_connect()

Postby social_experiment » Fri Apr 13, 2012 6:11 pm

The links supplied by Celauran contain examples on the use of both mySQLi and PDO
First, solve the problem. Then, write the code.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
When asking for assistance give as much information about the problem as possible
User avatar
social_experiment
DevNet Master
 
Posts: 2688
Joined: Sun Feb 15, 2009 12:08 pm
Location: South Africa


Return to PHP - Code

Who is online

Users browsing this forum: No registered users and 5 guests