This seems like such a basic thing. I'm almost embarassed to ask, but I haven't found anything that I could get to work. I've got a page that populates a table with query results from another page. The first column is the date column. I continually get the full 2002-03-28 00:00:00.000 format. I found a way to convert a timestamp... Do I need to convert to a timestamp and then use the date function to pull it back? How can I manipulate the following to change each row of the query results?
while (odbc_fetch_into($result,$myrow))
{
$date = $myrow[0];
}
echo "<TR><td>$date</td> etc...";
Of course, there's a fair amount of text before, during, and after these lines, but I tried to post the minimum relevant portion.
while (odbc_fetch_into($result,$myrow))
{
$date = $myrow[0];
}
echo "<TR><td>$date</td> etc...";
Of course, there's a fair amount of text before, during, and after these lines, but I tried to post the minimum relevant portion.