Jump to content

Parsing Question


phpretard

Recommended Posts

My DB holds the date like this - 20080115.

 

How can I turn that into - January 15, 2008 - ?

 

$U is the date.

 

My Query Code:


$result = mysql_query("SELECT * FROM list");

while($row = mysql_fetch_array($result))
  {
include 'vars.php';

echo $U ."<br>";

  }

 

Any Help?

 

-Anthony

Link to comment
https://forums.phpfreaks.com/topic/98388-parsing-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.