$sql="select * from shb where username='$username' and datediff(now(),starttime)=0 and starttime<'$setouttime' and starttime>=$'".(setintime-$spacetime)."'";