hi all
the price field is set as float
In my database there are some prices fields which have either "0.00" or "NULL" as value
i wanted to display price if the value is not "0.00" or not "NULL"
But the price is being shown even if its "0.00".PHP Code:if( ($row['price'] != "0.00") || ($row['price'] != "NULL") ){
// DISPLAY PRICE
}
Is my code correct or not ?
vineet



Reply With Quote






Bookmarks