View Single Post
  #2 (permalink)  
Old 09-09-03, 03:07 AM
SleeperZ SleeperZ is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
$today = (todays date);

if (($ref == $clientip) && ($clientdate == $today))
{
//Do not store
}

else
{
//run sql query
}

Pretty basic example, but I am guessing that is what your asking?

/SleeperZ
__________________
***Expect the Unexpected***
Reply With Quote