I get two errors, one, while inserting into the database. Although the insert does work, it gives me this error:
Warning: Supplied argument is not a valid MySQL result resource in functions.php on line 21
Here is the query:
INSERT INTO plants SET id = 'plant,18703,7410,29649,id', common_name = 'Burgundy Bungle', botanical_name = 'Ajuga', description = 'Blue flowers atop burgundy and bronze foliage of this perennial. Blooms from May to June. May be planted in full sun or shade, requires moderate water, and is deer resistant. ', picture_url = 'ajuga/ajuga.jpg', type = '7', size = '1', flower_color = '6', flower_period = '1', fall_color = '', water_tolerance = '2', sun_requirements = '3', deer_resistant = '1', max_elevation = '4', hardness = ''
Also, when deleting from PHPmyadmin, I get this error:
Warning: Supplied argument is not a valid MySQL result resource in e:/webserve/apache/apache/htdocs/phpmyadmin/sql.php on line 251
Warning: Cannot add header information - headers already sent by (output started at e:/webserve/apache/apache/htdocs/phpmyadmin/sql.php:251) in e:/webserve/apache/apache/htdocs/phpmyadmin/sql.php on line 367
I have no idea what is wrong 🙁