changed mysql to mysqli
changed mysql to mysqli