Home > php教程 > php手册 > php将第三方应用会员表导入到ucenter memberfields表

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

WBOY
Release: 2016-05-25 16:57:34
Original
1013 people have browsed it

 

 代码如下 复制代码

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 "全部导入";



教程地址:

欢迎转载!但请带上文章地址^^

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template