Help with if statement

Discussion in 'PHP' started by Qal, Apr 8, 2008.

  1. Qal

    Qal Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #21
    btw, I hope the above statement is programattically correct?

    Here again:

    if( $price_cost != 0 || $price_cost != 'free' && $price_cost == NULL )
    Code (markup):
    It should process payment.php on empty and integers, except on 0, and 'free'.
     
    Qal, Apr 9, 2008 IP