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 //设置cookie setcookie("user_name", "frank", time()+3600); /...
nginx 配置location / {rewrite ^(.*)$ /index.php?s=/$1 last;}code rotoo.top.7z...
声明为空isset($_POST['user_email']),或者,empty($_POST['user_email'])在php.ini中设置error_repor...
生成json<?php $arr=array(); //定义空数组 $one="111"; $two="222"; arra...
<?php $servername = "localhost"; $username = "root"; $...
在httpd.conf添加<IfModule mod_env.c>SetEnv 常量名 常量值</IfModule>...