<?php
$userlist = file("users.inc.php");
for ($i=1; $i<count($userlist); $i++) {
list($n,$p,$a,$e,$g,$s,$m) = explode(':',chop($userlist[$i]));
if ($n == $user && $m >= 1) {
echo "You Have $m";
}
elseif ($n == $user && $m == 0) {
echo "You have no money<br>";
}
}
?>
Using this script, What should i put for the "($n == $user && $m >= 70)" - What can I put in for that if statment, to take that 70 away from $m ($m is the money statment in the users account) The ammount on the users account can not go under 0.
Thanks, anyone who helps will be added to the credits list on the site.