How to call Stored procedure from Plugin
-
Hi Friends,
I need to call a mysql Stored procedure from WordPress plugin. How can I do that?
$sql = “CALL foodtyp_radius($unit, $foodtype, $distance, $precision, $srclat, $srclong)”;
$foodresults = $wpdb->get_results($sql);
I get this error:
WordPress database error: [PROCEDURE wordpress.foodtyp_radius can't return a result set in the given context]
Please can anyone help.
thanks & regards
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to call Stored procedure from Plugin’ is closed to new replies.