// OK, so we have the User ID, a valid MAC, and no previous registration
// of that combination. Going to add.
$query = sprintf("INSERT INTO %s ( mac, user_rel ) VALUES ( '%s', %d )",
// OK, so we have the User ID, a valid MAC, and no previous registration
// of that combination. Going to add.
$query = sprintf("INSERT INTO %s ( mac, user_rel ) VALUES ( '%s', %d )",