<?php
require_once('adodb/adodb.inc.php');
require_once('sqlprocedure.php');
$data_base = 'mysql';
$user = 'root';
$passwd = '';
$host = 'localhost';
$db_name = 'members';
$dsn = "$data_base://$user:$passwd@$host/$db_name?clientflags=65536";
$db = new SqlProcedure($dsn);

$row = $db->fetchAll("CALL select_members()"); // procedure call
echo "<pre>";
print_r($row);
echo "</pre>";
?>

Seguir leyendo