xtremetawsan Posted May 23, 2008 Share Posted May 23, 2008 I develop new class for let some users to add their own the products, i try autoExecute() autoExecuteWithNullValues() also try Execute() function too but nothing happened no error msg just nothing happened , i attached the file too at end of class i have function that is: public function urunKayit($id_uye,$kat) { //id_uye means user id i add that field to product table, for track the which user have which products $now = date('Y-m-d H:i:s',time()); $values = array('id_uye'=>$id_uye, 'id_category_default'=>$kat, 'active'=>0, 'date_add'=>$now, 'id_supplier'=>0, 'id_manufacturer'=>0, 'id_employee'=>0); return DB::getInstance()->autoExecuteWithNullValues('kp_product', $values, 'insert', $where = false, $limit = false); } Please this is urgent situation. UyeProfil.php Link to comment Share on other sites More sharing options...
xtremetawsan Posted May 23, 2008 Author Share Posted May 23, 2008 Ok i solved, i manage a second mysql class that for additional classes and jobs, not use presta's mysql & db classes that is not the secure way but at least it works. 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