Updating database

wxdqz

New Member
$query = "UPDATE table SET domain='$latest' where id='$idno'";

The above will update a single field. How do I get it to update more then one field?

Do I do this?

$query = "UPDATE table SET domain='$latest', ip='$ipadd', pc='$homepc' where id='$idno'";
 
Back
Top