You could do like this
to test what should be echoed
( empty($row['price'])? 'Call for Price' : $row['price'] )
empty($row['price'])? .... means one question= Is price empty?
'Call for Price' : $row['price'] ..... means 2 options depending on the answer to question
Yes, then use: 'Call for Price'
No, then use: $row['price']
So all of the line can result in two different values.
Echo "<tr>";
Echo "<th>".$row['year'] . ' ' . $row['make'] . ' ' . $row['model'] . "</th>";
Echo "<th></th>";
Echo "<th></th>";
Echo "<th></th>";
Echo "<th>". (empty($row['price'])? 'Call for Price' : $row['price']) . "</th></tr>\n";
As told it works when there is no price, null or empty string
with one exception: When Price is '0'
Then the price is not printed, but 'Call for Price'
But normally, it is very unusual with prices of zero,
because then we are not talking business, we are talking gifts.