I use this code to display Submit form button if invoice row is empty. If it's not, then I show the invoice row value. The main problem is I can't figure out how to do syntactically-correct change to display other submit button where now row invoice value is.
". (empty($row['invoice'])? '<form action="page.php" method="post"><input type="submit" alt="Submit Form" value="Submit" /></form>' : $row['invoice']) ."
I think it should be something like this:
". (empty($row['invoice'])? '<form action="page.php" method="post"><input type="submit" alt="Submit Form" value="Submit" /></form>' : '<form action="page.php" method="post"><input type="submit" alt="Submit Form" value="Submit" /></form>' ."
Maybe anyone can help me to work this out?