echo(date('U',strtotime($string)));
O bien podrías agregar UNIX_TIMESTAMP(colDate) en el select de mysql.
Más info en http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_unix-timestamp
NAME
EMAIL
Website URL
Spam protection: Sum of 1 + 6 ? *
NOTE - You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">
19 Dec 2011
O bien podrías agregar UNIX_TIMESTAMP(colDate) en el select de mysql.
Más info en http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_unix-timestamp