I created 3 separate pages which require input from the user. The first and second pages work perfectly in receiving the input from the user and passing it on to it’s database. For the third page I am testing the form, not receiving any errors when submitting the input, however there are no new entries to the database at all.
I tested every single line of code and everything seems to be in order, its just the last step of inserting the query through:
$query = “insert into
products (product_title ,product_description ,product_sku ,product_price ,product_images ,product_tags ,product_metafield ,category_id ) values(’$product_title’,’$product_description’,’$product_sku’,’$product_sku’,’$product_price’,’$product_image’,’$product_tags’,’$product_metafields’,’$category_id’)”;
Been racking my brain for the past 6 hours, any help is appreciated.