Jump to content

Sql query return :false


Chill_user

Recommended Posts

Hello to all,

I tried to execute sql query to get all info about CartRule by ID of cart rule (need product_id cart rule using and description of the cart rule.

			$sql = new DbQuery();
            $sql->select('*');
            $sql->from('uhep_cart_rule');
            $sql->where('id_cart_rule = .$voucher_int');
            $tar = Db::getInstance()->executeS($sql);
            var_dump($tar);

But the return is bool(false)

 

What is the problem?

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...