Hi,
this may be a repost, but i forgot the subject...
I am trying to update a database... I have a stock line written:
$SQL = "UPDATE table SET compname='$compname',activities='$activities',url='$url',confirm_auth='$ath' where (date='$date')";
The problem is that i don't want the old values replaced with ' ' if the variables are null. Is there an elagant solution to this?
Thanks in advance.