I am using the following query to update a field in a mysql database:
My question is - Since the UPDATE statement only works if there is already data there. How can i edit this statment to add new data if none already exists, but still update if it does exist. I did try and search a bit but didnt come up with much...
Thanks in advance.

Code:
$query="UPDATE fbs_members_info SET website = '$newsite' WHERE memberID ='$updateid'";
Thanks in advance.
