Hello all,

I have the follwoing piece of code:

//reference a stored procedure
$procedure = "Execute Procedure informix.arrest_char($part_id)";

//run the stored procedure
$char_query = ifx_query($procedure, $connect_id);

//get the result of the stored procedure
$char_result = ifx_fetch_row($char_query);

//print out the returned values.
print_r($char_result);

This all works just fine and I have values returned.  What I am trying to do
is assign one of the array items to a variable.

In the past I have done so like this:

$stat_1 = $char_result['stat_1'];

But for some odd reason $stat_1 doesn't contain anything.

Am I going crazy or am I doing something wrong?

Thanks,

Dan

Reply via email to