m-d-y date format problem
I understand the PHP date() command, the problem is how can I integrate it with the WA code.
I am querying a table using the following:
SELECT id, stamp, call_order, case_number, plantiff, plantiff_attorney, defendant, defendant_attorney, time, duration, location, cancellation FROM trial WHERE stamp >= NOW() And case_number is null ORDER BY stamp ASC, call_order ASC
Stamp is the date field here is WA code that displays it on the page:
<td class="WADAResultsTableCell"><?php echo($row_WADAtrial['stamp']); ?></td>
I tried entering:
date("m-d-y", strtotime($_POST['stamp']));
But that doesn't make any difference...thanks again for any help!