use MySQLi object instead of mysql_ functions
replace mysql_ with mysqli obj