Forum Moderators: coopster
hmm...
myFunction($ID,$price);
gives no result that I can see
where as
myFunction($ID,price);retuns the price
here is the code from that function that shows the price:
while (!$recordSet->EOF)
{
$field_value = make_db_unsafe ($recordSet->fields[field_value]);
echo $field_value;
$recordSet->MoveNext();
} // end while
>What does:
>echo myFunction($ID,price);
Fatal error: Call to a member function on a non-object
normally, i just call this function and it outputs the value of the field i send to it (alphanumeric). i just want to add a number to the result.