updateData($table,$data,$where)
$table 表
$data 字段及值的数组
$where 条件
其中$data的格式为
array("字段名"=>"值")
$where的格式为
id='$id'
该方法返回true/false