[Solved] PHP Insert multiple records into mysql from one json string [closed]
[ad_1] As you are trying to add all items to the query you will need to remove the [] from the implode(“,”, $array[]) so it reads implode(“,”, $array). You could try adding echo “INSERT INTO Product_img_col (image, color, pro_ID) VALUES ‘.implode(“,”, $array[])”); to your page so you have the query that you can test in … Read more