you never tried google, huh? http://www.w3schools.com/php/php_db_odbc.asp Read this, it contains all u need to know. Of course, don't forget to refer to PHP Manual. However, my personal recommendation is using PEAR class to abstract database layer, this is much more efficient IMO. http://pear.php.net/package/DB