We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
// Get the number of elements SET CI_size = LENGTH(categories_id1) - LENGTH(REPLACE(categories_id1, ',', '')) + 1; WHILE CI_size > 0 DO SET str_CI_el = SUBSTRING_INDEX(str_CI, ',', -1); SET str_CI = SUBSTRING_INDEX(str_CI_el, ',', CI_size - 1); INSERT INTO product_categories1 (product_id,categories_id) VALUES (product_id1, str_CI); SET CI_size = CI_size - 1; END WHILE;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|How to use session variables in php?||22||51|
|Getting "Invalid Operation" Error when opening a Recordset||10||37|
|Displaying a google org chart from php/mysql code||27||25|
|How can I get these two for loops to talk to one another politely?||6||10|