by sqltreat | 30/01/17 | 1 Answers | Tags : PHP , deprecated-function , database , mysql_list_dbs , deprecated Views : 482
i am finding alternative of the mysql_list_dbs in php , in php , it was easy to get list of database by function mysql_list_dbs above code will give you list of databases in current MySQL database. but mysql_list_dbs is deprecated as of PHP 5.4.0 so what is the other alternative of mysql_list_dbs function ? is there any PHP function or MySQL function which is used to get database list

Read more

by fatso | 13/12/16 | 2 Answers | Tags : PHP , deprecated-function , mysql-extension , mysqli-extension Views : 208
i am getting warning at my php website suddenly . i am getting error with mysql_connect . it working previously. so i do some effort . i checked with web-hosting people they said they upgrade php and want to solve it and so i did not get any problem. so how can i remove deprecated mysql_connect function and use mysqli and PDO instead.

Read more