标签:str pre 数据 target www tle jce beijing com
$sql = "INSERT INTO person VALUES (‘Carter‘,‘Thomas‘,‘Beijing‘)";
$result = mysql_query($sql); //执行插入
echo mysql_insert_id(); //获取上一步插入的ID
标签:str pre 数据 target www tle jce beijing com
原文地址:http://www.cnblogs.com/wang1204/p/6055188.html