我在view.php中有以下代码,我想将信息传递到edit.php,而不会影响安全性或显示变量中包含的内容。 edit.php具有用于编辑数据库中信息的表单。
while ($row = mysql_fetch_assoc($result))
{
echo "<a href=\"edit_employee.php?$row[employee_id_passport]\">" . $row['first_name'] ." " . $row['surname'] . "</a>";
echo "<br />";
}
mysql_real_escape_string
建议应该作为注释添加。不管了... - RRStoyanov