My code works to import the data into mysql, but the command line is giving me an error:
PHP Fatal error: Column 'country_code' cannot be null in /home/jharvard/vhosts/pset8/includes/functions.php on line 57
The table is populated in PHPMyAdmin and appears accurate. When I downloaded into a spreadsheet though I noticed a few lines listed as:
INSERT INTO places
(id
, country_code
, postal_code
, place_name
, admin_name1
, admin_code1
, admin_name2
, admin_code2
, admin_name3
, admin_code3
, latitude
, longitude
, accuracy
) VALUES
Not sure what I am doing wrong especially since the table seems to be populated correctly.