<script>ec(2);</script>
是获取表单的数据再用update更新到mysql教程数据库教程
if( $_POST )
{
$cid = PostGet('cid',1);
$address = PostGet('address',1);
$sql = "Update cn_loupan_city set address='$address' where id='$cid'";
$Db = new Db();
if( $Db->query( $sql ))
{
MessAge('修改成功');
}
else
{
MessAge('操作失败,稍后再试!');
}
unset( $Db );
}
Stellungnahme:Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn