now using mysqli.
now using mysqli

switched to mysqli instead of mysqlconnect.