Jump to content

[SOLVED] Help with date/time data from mysql


Darkmatter5

Recommended Posts

I imagine you can just do something like this:

 

<?php
$query = "SELECT name FROM birthdays WHERE datetime > '0000-00-00 00:00:00'";
$result = mysql_query($query);
while ($row = mysql_fetch_object($result)
{
    echo $row->name.'<br />';
}
?>

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.