Return to Snippet

Revision: 44151
at April 7, 2011 03:22 by pootify


Initial Code
$query = "select UNIX_TIMESTAMP(date_field) as mydate from mytable where 1=1";
$records = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($records))
{
    echo $row;
}

Initial URL

                                

Initial Description

                                

Initial Title
Truncate Text at Word Break

Initial Tags
php, text

Initial Language
PHP