$sql="EXECUTE PROCEDURE P_NAME_ID ('TFAM','Post body')";
$sth = $dbo->prepare($sql);
$r = $res->fetchAll();
$db = ibase_connect($database, $user, $password)or die($err_logon);
$sql= "EXECUTE PROCEDURE P_NAME_ID ('TFAM','Post body')";
$sql_res = ibase_query($sql, $db);