Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Getting PHP to Talk to MySQL
May 18, 2007 @ 15:21:00

DevShed is getting back down to some of the basics with this new tutorial - the first part of a three-part series looking at connecting PHP with a MySQL database backend. The article is part of an excerpt from the O'Reily book "Learning PHP and MySQL" (by Michele Davis and Jon Phillips).

In this first part of a three-part series. you will begin learning how to use PHP to display and modify data from a MySQL database.

They step through the process of connecting to the database server, picking the database you want to work with, creating a SELECT statement for the data in the tables, running it and getting back the information. For this first part of the series, though, they only go as far as making the connection including the solution to one of the most common errors people experience - the "call to undefined function" problem.

tagged: mysql connect tutorial login mysqlconnect mysql connect tutorial login mysqlconnect

Link:


Trending Topics: