best practise for connecting to mysql

admin

Administrator
Staff member
03/11/2000

Hi, i am php/mysql beginner and was wondering what is the best/secure method of connecting to a mysql db. I have come accross some sites, which have the connection variables on the page itself, while others have it on some .inc file, which they call be include or require function. Can anyone suggest/recomend the most secure.

Thanks
 
Back
Top