HI Jeff,
Thanks for that but its not updating, I have changed to the following now but still no luck. If you have any more ideas
public static function acceptPilot($pilotid) {
return self::updateProfile($pilotid, array(
'confirmed' => PILOT_ACCEPTED,
'retired' => 0
));
if($ret) {
$sql = "UPDATE `mydbname`.`mydbrow`
SET `retired` = '0',
WHERE `pilotid`='.$pilotid";
$res = DB::query($sql);
}
}