As vincent says, please read the manual. PHP support many databases "natively". You will find sections in the PHP manual devoted to these database specific functions. There has also been some effort to abstract the DB layer. Look into the PEAR documentation on the PHP site for one abstration effort.