Question
DATE_FORMAT Parse Error
Hello,
PHP/MySQL Application....
How would I use the DATE_FORMAT function in a table that uses $row. Here is my code:
<td align="left">' . $row['date_received'] . '</td>
I've tried this:
<td align="left">' . $row(DATE_FORMAT(['date_received']), '%m %d %y') . '</td>
but receive parse error message:
Parse error: parse error, unexpected '[', expecting ')' on line 214
Thank you for your help.
William
PHP/MySQL Application....
How would I use the DATE_FORMAT function in a table that uses $row. Here is my code:
<td align="left">' . $row['date_received'] . '</td>
I've tried this:
<td align="left">' . $row(DATE_FORMAT(['date_received']), '%m %d %y') . '</td>
but receive parse error message:
Parse error: parse error, unexpected '[', expecting ')' on line 214
Thank you for your help.
William
