What is the purpose of the update.php file in the website's backend?
- 内容介绍
- 文章标签
- 相关推荐
本文共计119个文字,预计阅读时间需要1分钟。
php// 将id、title、author和content变量分配给smarty模板$id=$_POST['id'];$title=$_POST['title'];$author=$_POST['author'];$content=$_POST['content'];
$smarty->assign('id', $id);$smarty->assign('title', $title);$smarty->assign('author', $author);$smarty->assign('content', $content);
$smarty->display('update.');
update.phpassign("id",$id); $smarty->assign("title",$title); $smarty->assign("author",$author); $smarty->assign("content",$content); //$smarty->assign($time); $smarty->display("update.html"); ?>
本文共计119个文字,预计阅读时间需要1分钟。
php// 将id、title、author和content变量分配给smarty模板$id=$_POST['id'];$title=$_POST['title'];$author=$_POST['author'];$content=$_POST['content'];
$smarty->assign('id', $id);$smarty->assign('title', $title);$smarty->assign('author', $author);$smarty->assign('content', $content);
$smarty->display('update.');
update.phpassign("id",$id); $smarty->assign("title",$title); $smarty->assign("author",$author); $smarty->assign("content",$content); //$smarty->assign($time); $smarty->display("update.html"); ?>

