Thanks Jerry for replying.
I tried the following:
$sth=$db->prepare("call validateFBT(?,?)");
$bindvars=array("1" =$SelectedFBT,"2" =$frequency);
$res=$db->execute($sth,$bindvars);
if (DB::iserror($res)) {
die($res ->getMessage( ));
}
I get 'DB Error: unknown error'.
Regards,
Urmi
"Jerry Stuckle" <jstucklex@attglobal.netwrote in message
news:gg1th3$5dc$2@news.motzarella.org...
Quote:
Urmi Biswas wrote:
Quote:
>Hi All,
>>
>Has anyone tried calling MySQL stored procedure from php scripts?
>I use PEAR DB module to access MySQL database.
>Not sure if php 4.4.0 (that we use) support calling stored procedures.
>>
>Regards,
>Urmi
>>
>>
>
I know of no reason why php 4.x (it's now backlevel and no longer
supported - you should update ASAP) shouldn't support it, but php 5.x
supports it fine.
>
Did you try it?
>
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================