siusiak1000 Posted August 6, 2018 Share Posted August 6, 2018 Hey! I want to put in the table ps_category_product: id_category, id_product and position. ID (int) are put in but it does not work to the end as I want because there is no association. How can I fix it? $add = 'INSERT IGNORE INTO '._DB_PREFIX_.'category_product (id_category, id_product, position) VALUES ('.$id_category.', '.$id_product.', 0);'; Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 9, 2018 Share Posted August 9, 2018 Hi, We don't see any issue with the query. It seems fine to us. Looks like there is an issue in function which is being used to execute the query. Share the complete code to check further. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now