Linux Today: Linux News On Internet Time.

dotcomma.org: MySQL Database Interaction With PHP

Jan 09, 2000, 15:55 (0 Talkback[s])
(Other stories by Shaun McCormick)

"There are quite a few ways to interact with a MySQL database. Here I will show you one of the more common (and easier in my opinion) ways. This tutorial requires some knowledge of SQL...and PHP....This won't go over all of the MySQL PHP commands. If you want that, go to www.php.net. This tutorial will just show you how to use them effectively. This tutorial does not cover permanent connections."

"Let's use a demo code for instance. This code connects to on port 3306 (standard MySQL port) and retrieves data from the "people" database and the "friends" table."

Complete Story

Related Stories: