changed to mysqli.