日期:2014-05-16 浏览次数:20579 次
<?php
require_once("header.php");
$q="select * from member where id='5'";
$r=$obj_db->simplequery($q);
$a=$obj_db->fetchRow($r,DB_FETCHMODE_ASSOC);
$ccd=$a[cca]+$a[ccb];
$obj_db->simplequery("update member set ccd='$ccd' where id='5'");
?>