Originally Posted by Fou-Lu
That's a simple matter of replacing this:
echo $row["availability"]; with the if statement, or using a ternary:
echo $row['availability'] ? 'available' : 'not available';.
Yeah thanks, i knew i was doing it right, just coding it dumb got it sorted now thanks