query($updateStr); $conn->query($deleteTag); } header('Location: tag.php?tagName=' . urlencode($tagName)); exit; } // Get all tags for the current employee $tagStr = ''; $result = $conn->query("SELECT DISTINCT tagName FROM tagtable WHERE employeeId=" . $_SESSION['employee_id']); while ($row = $result->fetch_assoc()) { $tagStr .= "" . htmlspecialcharsFix($row['tagName']) . ","; } ?> 管理区域

序号
客户编号
渠道来源
区域
跟进阶段
录入时间
操作
real_escape_string($tagName) . "')"; $result = $conn->query($sqlStr); $tempNum = 0; while ($row = $result->fetch_assoc()) { $tempNum++; ?>
query("SELECT ch_name FROM qudao WHERE id=" . (int)$row['cs_from']); echo ($qudaoRow = $qudaoResult->fetch_assoc()) ? htmlspecialcharsFix($qudaoRow['ch_name']) : '未填写'; ?>
query("SELECT countryName FROM country WHERE id=" . (int)$row['cs_country']); echo ($countryRow = $countryResult->fetch_assoc()) ? htmlspecialcharsFix($countryRow['countryName']) : '未填写'; ?>
成交"; } elseif ($row['cs_deal'] == 2) { echo "明确需求"; } elseif ($row['cs_deal'] == 1) { echo "背景调查"; } else { echo "无响应"; } ?>
联系方式
备注
query("SELECT tagName FROM tagtable WHERE customerId=" . $row['id']); while ($tagRow = $tagResult->fetch_assoc()) { $tagStr1 = str_replace( "" . htmlspecialcharsFix($tagRow['tagName']) . "", "" . htmlspecialcharsFix($tagRow['tagName']) . "", $tagStr1 ); } echo $tagStr1; ?>