Sorry - I thought the basics idea would be enough - The actual code is
function updtRegist($keyin, $database_Class63, $Class63) {
require_once('Connections/Class63.php');
mysql_select_db($database_Class63, $Class63);
$updateSQL = sprintf("UPDATE 'directory' SET 'USERNAME'='','PASSWORD'='','Registered'='Yes' WHERE 'KEY'=%s",
GetSQLValueString($keyin, "text"));
$Result1 = mysql_query($updateSQL, $Class63) or die(mysql_error());
}
The calling code is
$rtnval2 = updtRegist($keypass, $database_Class63, $Class63);
Why can't I do a line feed here? This is just the function and the calling code.