mysql批量添加数据
$conn=new sqlhelper;
for ($i = 0; $i <1000 ; $i++) {
$sql="insert into system_user(user_shenfen_id,user_email,user_passwod) values (concat($i,'3336'),'001@163.com','8844')";
$conn->run_done($sql);
}
$conn=new sqlhelper;
for ($i = 0; $i <1000 ; $i++) {
$sql="insert into system_user(user_shenfen_id,user_email,user_passwod) values (concat($i,'3336'),'001@163.com','8844')";
$conn->run_done($sql);
}
<?php $cars=$_POST['shuju'];$cars=explode(',', $cars);print_r($cars)&n...
增加$arr[$iy]["pr_count"]+=$pr_count;减少$arr[$iy]["pr_count"]-=$pr_count;删除unset($a...
<?php //设置cookie setcookie("user_name", "frank", time()+3600); /...
声明为空isset($_POST['user_email']),或者,empty($_POST['user_email'])在php.ini中设置error_repor...
<?php $url = 'https://api.openai.com/v1/completions'; $data = arr...
php的open_basedir设置多个路径(目录),分隔符是“:”冒号open_basedir=/www/wwwroot/www.ceshi.com/:/tmp/:/www/...