Re: Problem outputting MySQL Date field
| From: | John Meyer | Date: | Sat, 29 Aug 2009 00:37:12 +0000 |
| Subject: | Re: Problem outputting MySQL Date field | ||
| References: | 1 2 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-windows+get-29562@lists.php.net to get a copy of this message | ||
Devendra Jadhav wrote:
No need to do anything special. It should display date as string. Can you provide little more information or code snippet? $tweettable .= preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', '<a href="$1">$1</a>',$row["TWEET_TEXT"]) . "<br>" . "Sent at: " . $rowqry["TWEET_CREATEDAT"];
$tweettable .= "<br>Sent Using: " . $row["TWEET_CREATEDBY"] . "</td></tr>";And I checked the database. The date is there.