Home >Backend Development >PHP Tutorial >PHP imports third-party application membership table to ucenter memberfields table_PHP tutorial

PHP imports third-party application membership table to ucenter memberfields table_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 10:58:041184browse

php tutorial to import third-party application membership table to ucenter memberfields table

mysql tutorial_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 "Import all";

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632047.htmlTechArticlephp tutorial import third-party application membership table into ucenter memberfields table mysql tutorial_connect('localhost','0731 -cn','0731licheng1') or die('sever '); mysql_select_db('0731-cn') or die('...
Statement:
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