http://stackoverflow.com/questions/1...base-using-php

Yukarıdaki adresin ilk cevabı sizin de cevabınız hocam.