安卓适配器问题,创建适配器并用到SPinner,但运行时程序出错 10
这是出错截图,原因是下面一句ArrayAdapter<String>adapter1=newArrayAdapter<String>(this,android.R.lay...
这是出错截图,原因是下面一句
ArrayAdapter<String>adapter1 = new ArrayAdapter<String>(this,android.R.layout.simple_spinner_item,ctype1); 展开
ArrayAdapter<String>adapter1 = new ArrayAdapter<String>(this,android.R.layout.simple_spinner_item,ctype1); 展开
1个回答
2015-07-25
展开全部
for ($i=0; $i<count($values); $i++) {
$sql = "insert into customer (openid, opercode, text, time, worker) values
$stmt = $dbh->prepare( $sql );
$stmt->execute( array( ".$values[$i]." ) );
$rn = $stmt->rowCount();
echo "<script>alert();</script>";
}
$sql = "insert into customer (openid, opercode, text, time, worker) values
$stmt = $dbh->prepare( $sql );
$stmt->execute( array( ".$values[$i]." ) );
$rn = $stmt->rowCount();
echo "<script>alert();</script>";
}
追问
什么意思啊,我看不懂啊
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询