• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to CALL stored procedure in mysql on from cms module
PostPosted: Sat Mar 19, 2011 12:15 pm 
Offline
Forum Members
Forum Members

Joined: Wed Jul 07, 2010 10:54 am
Posts: 44
Hi,
I have this code:
Code:
$db = cmsms()->GetDb();
$q = 'CALL ADD_CHILD("Kategorie", "Somethink");';
    $dbr = $db->Execute($q);
    if (!$dbr)
        echo('Error executing query: ' . $db->sql . '<br/>' . $db->ErrorMsg());

And result is:
Code:
Error executing query: CALL ADD_CHILD("Kategorie", "Somethink");
PROCEDURE cveionic_cmsms.ADD_CHILD can't return a result set in the given context

How can I solve that???


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner