If I remove the "if" clause and simply display the row, I get the date_sold dates to display when they occur. What could I be doing wrong?
Code: Select all
if($row->date_sold = '0000-00-00 00:00:00'){
$sHtml .= '<td nowrap>n/a</td>';
} else {
$sHtml .= '<td nowrap>'.Format_Date($row->date_sold).'</td>';
}