SatishPutcha
Programmer
Hello Everybody
I have taken up my first PHP-mySQL project and it is quite huge. I have to create a database connection and I intend to put in a file that I will include in my PHP pages and keep reusing.
I wanted to know if it is a good practice to use inbuilt mySQL functions for this purpose i.e. mysql_connect, mysql_select_db, mysql_query, mysql_num_fields, mysql_fetch_array, etc.
If not what is the best way to go about it?
Thanks and Regards
Satish Kumar
I have taken up my first PHP-mySQL project and it is quite huge. I have to create a database connection and I intend to put in a file that I will include in my PHP pages and keep reusing.
I wanted to know if it is a good practice to use inbuilt mySQL functions for this purpose i.e. mysql_connect, mysql_select_db, mysql_query, mysql_num_fields, mysql_fetch_array, etc.
If not what is the best way to go about it?
Thanks and Regards
Satish Kumar