Posted by Smiley on 02/28/06 04:35
"Disco Octopus" <discooctopus@yahoo.com> wrote in message
news:14kf3b7vgu3el$.gmixeb8ew7u2.dlg@40tude.net...
> Smiley wrote:
>
>
> Is it possible that these are of different data types?
> perhaps $price is a string? and $amount is a number?
You're right. I just tested that out by putting quotes around each variable
in the 'if' statement and it works now.
The $amount variable was returned by PayPal Sandbox, I guess it must have
been a string.
I thought that PHP automatically set the data type of a variable based on
what kind of data was inside...
Navigation:
[Reply to this message]
|