My website (built by someone else - I know nothing about php) uses a lot of deprecated functions. My host is upgrading their mysql and it’s going to break my site. I’ve run all the code through a php code checker and know what the errors are, but I can’t figure out how to fix them.
These are all the deprecated functions used throughout my site:
mysql_fetch_object()
mysql_num_rows()
mysql_query()
mysql_result()
session_register()
session_is_registered()
mysql_fetch_array()
mysql_error()
mysql_insert_id()
mysql_connect()
mysql_pconnect()
mysql_real_escape_string()
mysql_select_db()
split()
mysql_data_seek()
mysql_escape_string()
mysql_fetch_assoc()
mysql_free_result()
mysql_close()
other than changing to mysqli - I’ve got no idea what else needs to be fixed. Please help!