Hi
I need to insert 256 records into a table - the query will look like this :
INSERT INTO `panierdef_001.produits` (`pr_id`, `admin_id`, `pr_nom`, `pr_prix`, `fam_id`, `pr_desc`, `pr_orig`, `pr_ref`, `pr_min`, `unite_id`, `pr_vol`, `pr_coeur`, `pr_offre`, `pr_image`, `pr_online`, `pr_rank`) VALUES ('', 13, 'Clementines corses', '3.95', '10', 'Riche en vitamine C, la Clémentine de Corse contribue à doper l\'organisme en hiver (41 mg aux 100 g, une orange apportant 50 mg au 100 g). La Clémentine de Corse est également riche en carotènes, en provitamine A, favorable à la bonne santé de la peau.', 'Elle doit cette générosité aux aléas des découvertes. Apparu en 1929, cet agrume est issu d\'un croisement de hasard entre un bigaradier (oranger amer) et un mandarinier.', '141', '0' '4', '', '', '', 'paniers-bio-nimes-70556df662c6bc8f.jpg', '0', '18')
if i do this from in a for() loop is it likely to fail due to too many queries in 1 go or something ? is there a better way ?
thanks