The code is:
$q = "select * from users where email='".$email."' and password='".$pass."'";
$results = mysql_query($q);
if ($results) {
while ($list=mysql_fetch_assoc($results)) {
$things[]=$list;
}
}
//$things[7] is a MySQL timestamp column named "last_login"
$date = strtotime($things[7]);
Thanks in advance, Nathan -- Nathan Mealey Director of Operations Cycle-Smart, Inc. P.O. Box 1482 Northampton, MA 01061-1482 [EMAIL PROTECTED] (413) 587-3133 (413) 210-7984 Mobile (512) 681-7043 Fax
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php