L
lily150
Guest
Hi,
This is a piece of code from a registration system. .$dates['Date'] is the date the register was taken (this will be on a loop to display results). .$dates['Present'] is a yes or no (to indicate if the person was in)
I am having problems with getting this to display only the results for this week.
Can anyone help please.
echo "<B>".$dates['Date']."</B>"." attended <B>Science</B> "."<B>".$dates['Present']."</B>";
echo "<br>";
This is a piece of code from a registration system. .$dates['Date'] is the date the register was taken (this will be on a loop to display results). .$dates['Present'] is a yes or no (to indicate if the person was in)
I am having problems with getting this to display only the results for this week.
Can anyone help please.
echo "<B>".$dates['Date']."</B>"." attended <B>Science</B> "."<B>".$dates['Present']."</B>";
echo "<br>";