include "lib.php";
$connect = dbconn();
$query = "select * from freemanmemo where no='$no'";
$result = mysql_query($query, $connect);
$data = mysql_fetch_array($result);
?>
메모 수정
메모 수정
$query = "select * from freemanmemo_adm";
$result2 = mysql_query($query, $connect);
$data2 = mysql_fetch_array($result2);
$wml=$data2[wml];
$data[name] = stripslashes ($data[name]);
$data[email] = stripslashes ($data[email]);
$data[memo] = stripslashes ($data[memo]);
$data[name] = htmlspecialchars ($data[name]);
$data[email] = htmlspecialchars ($data[email]);
$data[memo] = htmlspecialchars ($data[memo]);
?>
mysql_close($connect);
?>