View Single Post
Old 11-25-2013, 06:15 PM  
mkx
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
Quote:
Originally Posted by alcstrategy View Post
why are you using strings for ints like $recipient->ebay_fees < '25' dont use quotations because it is an integer not string. Same thing with the assignments.

php isnt stricly typed but just for purposes of practice

if (($item->SKU != 'part1' || $item->SKU != 'part2') || $recipient->ebay_fees < '25'){ $sig='0';} else { $sig='1';} should work
Doesn't seem to work, still makes sig 0.

if I echo $recipient->ebay_fees it shows a value of 27, thats the way I am pulling it.
mkx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote