Well, that's hell of a question.
Here is in a way what I would like
$result = mysql_query(" SELECT (less, more) FROM tempTable WHERE id = '$id' ");
$row = mysql_fetch_row($result);
if( ($row[1] - $row[0]) / 75 <= 1.5 )
{
INSERT INTO tempTable (payValue) VALUES ('$ammount') WHERE id = '$user';
}
Question is, is it possible to make one of these two queries?