bilal2005 Posted April 26, 2015 Share Posted April 26, 2015 (edited) I have a problem to excute sql from externel php file in prestashop this si the path of my file php modules/test/views/frontend/test.php and and require the confing.inc.php like that require_once(dirname(__FILE__).'/../../../config/config.inc.php'); ad this is the sql qeury $birthdays =Db::getInstance()->ExecuteS("SELECT * FROM `tes`"); foreach($birthdays as $t){ echo $t['p']; Edited April 26, 2015 by bilal2005 (see edit history) Link to comment Share on other sites More sharing options...
bilal2005 Posted April 26, 2015 Author Share Posted April 26, 2015 thanks I sloved the probelm thaks for all Link to comment Share on other sites More sharing options...
Recommended Posts