欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

php将第三方应用会员表导入到ucenter memberfields表

程序员文章站 2022-05-06 23:01:23
...
php教程将第三方应用会员表导入到ucenter memberfields表

mysql教程_connect('localhost','0731-cn','0731licheng1') or die('sever ');
mysql_select_db('0731-cn') or die('database error');
$sql = "select uid from member ";
$query = mysql_query( $sql ) or die('ddd');
while( $row = mysql_fetch_array( $query ) )
{
mysql_query("insert into uc_memberfields(uid,username,password,email,myid,myidkey,regip,regdate,lastloginip,lastlogintime salt,secques) values('".$row['uid']."','".$row['uid']."')") or die('jjjjj'.mysql_error());

}


echo "全部导入";