此更新到期和会员资格有什么问题?
$unit = "Days";
$length = "1";
$newExpire = strtotime("+{$length} {$unit}");
$sqlz = "UPDATE users SET expire ='$newExpire' WHERE username ='{$_POST['custom']}'";
$sql = "UPDATE users SET membership ='14' WHERE username ='{$_POST['custom']}'";
$retval = mysql_query( $sqlz, $sql, $conn );