if i see the examples on execute commands, i can see how they call stored procedures.
if i've got a stored procure in mysql: Insert_Users():
these are examples from the internet.
$result= mysql_query("CALL Insert_Users('username','useradd1','useradd2','userage')")
or die(mysql_error());
print_r($result);
if this is a select you can get the result with a fetch:
<?php
$mysqli = new mysqli('localhost', 'user', 'password', 'test');
if ($stmt = $mysqli->prepare("CALL select_details()")) {
$stmt->execute();
$stmt->bind_result($col1, $col2);
while ($stmt->fetch()) {
printf("%s %s <br />", $col1, $col2);
}
$stmt->close();
}
$mysqli->close();
?>