Question : connect to sql database using php

I am a long time user of mysql but I have no idea how to connect to a sql database. Can someone please give me an example string using the host,user, password, and db..thanks

Answer : connect to sql database using php

Random Solutions  
 
programming4us programming4us