hello
how can i say if a timestamp is more or = or less then 10 minutes
for example:
i have a MySQL database:
UserID RankCount LastRankTimeStamp
1 5 1053301412
2 1 1053308873
3 9 1053309859
how can i know if its been 10 minutes or more since the Userid "2" TimeStamp..
note:
i know how to connect to the database and select the UserID LastRankTimeStamp, what i want is something like this:
if ($LastRankTimeStamp < 10 minutes):
echo "Your Last rank was before 10 minutes or less";
elseif ($LastRankTimeStamp > 10 minutes):
echo "Your Last rank was before 10 minutes or more";
endif;