I am trying to pull in this date for each part of my database, but I am missing some element to make it work and not sure what I am missing?
$modified[] = array(date("m/d/y", strtotime($row[audit_modify_date]))."<br />".date("g:i a", strtotime($row[audit_modify_date])),);
//query
for ($i=0; $i < count($result); $i++) {
echo "<tr>";
echo "<td>$modified</td>";
echo"<tr>";
}
They output just says Array.
$modifieddirectly, not need to be turned into a single element array.for(...) { $modified = date(...strtotime(...)); echo " blah blah $modified "; }no need for an array at all.