kproc
11-08-2006, 08:01 PM
Hi
below is code that I'm tryingto set that if the value in the mysql table is set to 0000-00-00 then don't show the row but if the value is not that then show the row
code
<?php if($row_wish_list['occasion_date'] != '0000-00-00'){
echo '<tr>';
echo '<td class="rowLeft style1">Event Date</td>';
echo '<td class="rowRight style1">';
echo $row_wish_list['occasion_date']."</td></tr>";
}
?>
below is code that I'm tryingto set that if the value in the mysql table is set to 0000-00-00 then don't show the row but if the value is not that then show the row
code
<?php if($row_wish_list['occasion_date'] != '0000-00-00'){
echo '<tr>';
echo '<td class="rowLeft style1">Event Date</td>';
echo '<td class="rowRight style1">';
echo $row_wish_list['occasion_date']."</td></tr>";
}
?>