changed mysql to mysqli as mysql is deprecated
using mysqli insteat of mysql deprecated
max number of records that can be inserted at once