Jump to content

updating the database


pasivnyprijem

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...