pasivnyprijem Posted November 26, 2011 Share Posted November 26, 2011 Hi I want to update from my module the specific_price database but it does not work and Im despered already can anybody help? $newend = "$year-$month-$day $hours:$minutes:$seconds"; $databaza = Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'specific_price SET to = '.($newend).' WHERE id_product = '.(int)($prod_id).' LIMIT 1'); return $databaza; Link to comment Share on other sites More sharing options...
luci1 Posted November 28, 2011 Share Posted November 28, 2011 Hi Have you try to enter the query directly in phpmyadmin ? Is there any errors message ? 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