flemingmike Posted October 18, 2010 Share Posted October 18, 2010 hello, what is the propper way to write this? echo "<td align='center'>" if("$sstatus" == "1") { } else { echo "<td align='center'><a href='edittimesheet.php?id=".$tid."'>Edit</a>"; } "</td>"; thanks Quote Link to comment Share on other sites More sharing options...
trq Posted October 18, 2010 Share Posted October 18, 2010 echo "<td align='center'>"; if ($sstatus != 1) { echo "<td align='center'><a href='edittimesheet.php?id=$tid'>Edit</a>"; } echo "</td>"; Quote Link to comment Share on other sites More sharing options...
flemingmike Posted October 18, 2010 Author Share Posted October 18, 2010 thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.