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 Link to comment https://forums.phpfreaks.com/topic/216158-quicky-help/ 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>"; Link to comment https://forums.phpfreaks.com/topic/216158-quicky-help/#findComment-1123372 Share on other sites More sharing options...
flemingmike Posted October 18, 2010 Author Share Posted October 18, 2010 thanks Link to comment https://forums.phpfreaks.com/topic/216158-quicky-help/#findComment-1123374 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.