I have
$room=$_POST['room'];
$lastMTime=$_POST['lastMTime'];
function _getLastMsg($rName, $lMT){
$r=$rName.'.xml';
$rXML=simplexml_load_file($r) or die('Not found');
$rLMT=$rXML->lastMT;
if($lMT<$rLMT){
//some code here
}
}
How do I echo
every $rXML->username
that has $rLMT > $lMT
?
I want to get all usernames that have been submitted after $lMT
.