Thread:Project:Support desk/Execute a stored procedure

Hi

How I can execute a stored procedure from my Wiki?

I had: MediaWiki 1.15.1 PHP 	5.2.12 (apache2handler) MySQL 	5.1.44-community-log

My example did nothing: function doSP($userid) { $dbr = wfGetDB( DB_SLAVE ); $res = $dbr->execute( "SP_WIKI_001_USER(". $userid. ")" ); }