mmarif4u Posted August 21, 2008 Share Posted August 21, 2008 Can you post your updated code. Quote Link to comment Share on other sites More sharing options...
Nymphetamine Posted August 21, 2008 Author Share Posted August 21, 2008 <?php $result = mysql_query("SELECT * FROM ###########"); while($row = mysql_fetch_assoc($result)){ echo "<td>"; if ($row['date'] == '0501' && $row['property'] == '1') { echo "$row[name]"; } else { echo "Empty"; } echo "</td><td>"; if ($row['date'] == '1201' && $row['property'] == '1') { echo "$row[name]"; } else { echo "Empty"; } echo "</td><td>"; if ($row['date'] == '1901' && $row['property'] == '1') { echo "$row[name]"; } else { echo "Empty"; } echo "</td>"; } ?> 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.