php connection to database
This is my error code when I log in
Deprecated: Function ereg_replace() is deprecated in D:Hosting7349181htmlkhmermarketmemberSystemBasiclogin.php on line 12
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in D:Hosting7349181htmlkhmermarketmemberSystemBasiclogin.php on line 19
This is error when I register
Deprecated: Function ereg_replace() is deprecated in D:Hosting7349181htmlkhmermarketmemberSystemBasicjoin_form.php on line 13
Deprecated: Function ereg_replace() is deprecated in D:Hosting7349181htmlkhmermarketmemberSystemBasicjoin_form.php on line 14
Deprecated: Function ereg_replace() is deprecated in D:Hosting7349181htmlkhmermarketmemberSystemBasicjoin_form.php on line 15
Deprecated: Function ereg_replace() is deprecated in D:Hosting7349181htmlkhmermarketmemberSystemBasicjoin_form.php on line 16
Deprecated: Function ereg_replace() is deprecated in D:Hosting7349181htmlkhmermarketmemberSystemBasicjoin_form.php on line 17
Deprecated: Function ereg_replace() is deprecated in D:Hosting7349181htmlkhmermarketmemberSystemBasicjoin_form.php on line 21
Unknown column ‘country’ in ‘field list’