Jump to content

requet BDD


gudule1er

Recommended Posts

hello,

 

I would like a requet in my BDD

 

I do this : 

$req_sortie=Db::getInstance()->ExecuteS('select id_feature_value 
											from '._DB_PREFIX_.'feature_value
											where id_feature=11');
	
 
  foreach ( $req_sortie as $req_sortie_select_next)
  $value_select_req=$req_sortie_select_next['id_feature_value'];
  
  $req_sortie2=Db::getInstance()->ExecuteS('select value from '._DB_PREFIX_.'feature_value_lang where id_feature_value="$value_select_req"');
  $this->context->smarty->assign('req_sortie2',$req_sortie2);

but not work, message in fornt : 

array(0) {
}

	NULL

	valeur :

tjanks for your help

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