html inside php like this?
<?php echo"this is html"; ?>
time:
I personally use date() for recording all my time/date, lots of different options you can use. I'm personally a huge fan of YYYYMMDD format (or date("Ymd")), I find -for what I do in php it makes life so much easier- but I know alot of people will disagree with me,
this is how I would see if someone's been registered for +7 days, I know its not the best, but hopefully it will get you thinkin about how you want to do it,
$today = date("Ymd");
$registered = "20080801"; //or wtv it is from database
if (($today - $registered) >= 7 ) {
echo "its been over 7days";
} else {
echo "its been less than 7days";
}