if ($payment_status = Completed)
if you do this your if statement is invalid
You should do
if ($payment_status == Completed)
I mean you should use double '=' inorder to say 'equals'.
Jim Hankins [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Here is a portion
... an old C trick: when comparing a variable to a
constant, put the constant first, ie
if (Completed == $payment_status) {
}
that way, if you accidentally use 'assignment-equals'
instead of 'equivalence-equals', you get a syntax error.
Martinahingis [EMAIL PROTECTED] wrote in message
2 matches
Mail list logo