peterpavoll Posted February 19, 2012 Share Posted February 19, 2012 Dobry den, prosim Vas neviem si radu s jednou vecou. Chcem zmenit polozku pri produkte "neni skladom" na " v externom sklade" pri vsetkych produktoch Chcel som to urobit cez phpmyadmina exportol som tabulku ps_product_lang do csv kde su dane veci na zmenu urobil zmenu a ulozil ked som chcel importovat tak mi vypisuje chybu "Invalid column count in CSV input on line 1." vyriesil som to cez dotaz takto UPDATE `ps_product_lang` SET `available_now` = 'Skladem',`available_later` = 'V externím skladu' WHERE `ps_product_lang`.`id_lang` = 3; ale aj tak by som rad vedel kde robim chybu Dakujem za radu Link to comment Share on other sites More sharing options...
peterpavoll Posted February 22, 2012 Author Share Posted February 22, 2012 nikto ziaden napad Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted February 22, 2012 Share Posted February 22, 2012 No zřejmě si udělal chybu v tom csv. Ale když už bych si to exportoval, tak do sql, v pspadu si dal funkcí najít a nahradit, uložil a importnul zpět. Práce tak na minutu. Ještě jednodušší je ten sql dotaz. 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