Ok this is my code
PHP Code:
$getuser=$DB_site->query("SELECT * FROM user WHERE userid=$bbuserinfo[userid]");
while ($user=$DB_site->fetch_array($getuser)) {
$username=$user[username];
$userlastvisit=$user['lastvisit'];
$newposts="<a href=\"search.php?s=$session[sessionhash]&action=getnew\">View New Posts</a>";
$logout="<smallfont><a href=\"member.php?s=$session[sessionhash]&action=logout\">Log Out</a>";
$markallread="<a href=\"member.php?s=$session[sessionhash]&action=markread\">Mark All Forums Read</a>";
}
eval("\$welcometext .= \"".gettemplate('home_usercp')."\";");
But everytime I call $userlastvisit it says "1018586613" I have tried $user[lastvisit], $user[lastvisitdate], $user['lastvisit'], and $user['lastvisitdate']. I'm probably making this harder than it should be, but help please.
gre: