elin-r
12/11/2016 - 1:26 PM

PHP / SQL - Button if table field is empty

PHP / SQL - Button if table field is empty

echo "<table><tr><td>". empty($row['name']) ? '<input type="submit" value="Submit" name="submit">'  : $row['name'] . "</td></tr></table>";