<?php
include 'dbc.php';
?>
<?php session_start();
$id = $_SESSION['user_id'];
//$update = Reminder1;
// $rt1 = Reminder1;
// $mm1 = Reminder1;
mysql_connect("localhost", "user", "pass") or die(mysql_error());
mysql_select_db("database") or die(mysql_error());
$data = mysql_query("SELECT reminder FROM users WHERE $id = id)")
or die(mysql_error());
if EXISTS (reminder == Reminder1)') {
echo("Update Your Pasword reset reminder page");
}
else {
echo("redirect to /home.php");
}
?>
任何人都可以帮助我解决为什么会失败,会很棒,我已经为此工作了一段时间,感觉就像我正在打砖墙哈哈。我仍在测试中,所以 to echos 将在它处于工作状态时立即进行编辑,所以现在忽略它们行,我把它都留在了例子中。