[Solved] pull Else if from SQL [closed]
You need to learn the PHP from the basics. Learn about operators, PHP and HTML secion, etc.. Anyway, i fixed your code. The condition is if $vehicle->sold is not equal to 1. But i think, (in your OP you mentioned it should be 0) you want this: $vehicle->sold == 0 //Use sytnax like this. See … Read more