any ideas !!
function updateClient($arr){
extract($arr);
//print_r($arr);
$sql = "update clients set
name= '$name',pos = '$pos',company= '$company',
address='$address',postcode ='$postcode',email='$email',tel='$tel',affiliate=$affiliate,aff_stat_id = $aff_stat_id ,
date_updated = now() , ip='$ip'
where client_id = $client_id
";
$this->query($sql);
$ok = setcookie("client_id", "argh", 259300); //* expire in a month ish
//echo $sql."=$client_id"."=$ok";
$_SESSION['client'] = $this->getClient($client_id);
return $client_id;
}
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php