Quote:
echo '<td>' (date_diff(. $row['created'] , $row['created'] .))'</td>';
Firstly, the "."s are in the wrong place:
echo '<td>' . date_diff($row['created'], $row['created']) . '</td>';
Secondly, you're trying to take the difference between the
created
column and … the
created
column. That obviously won't produce a difference, since both values are the same.
If you want the difference between two columns, you need to specify which column you want to compare to.
echo '<td>' . date_diff($row['created'], $row['some-other-column-here']) . '</td>';