最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
将OICQ数据转成MYSQL数据
时间:2022-07-02 09:47:34 编辑:袖梨 来源:一聚教程网
################# You can copy this code to test #################
include("include/dbclass.inc"); //可以用 MYSQL.INC 类代替测试
$q = new DB_Sql;
$db = $q->Database; //define the database
mysql_connect('localhost:3306',$q->User,$q->Password);
?>
enctype="multipart/form-data">
value="">
terminated by value="," size=2>
Which table you want to insert ?
function show_field($db,$table,$num,$selected_field) {
$result = mysql_db_query($db, "SHOW KEYS FROM $table") or mysql_die();
$primary = "";
while ($row = mysql_fetch_array($result))
if ($row["Key_name"] == "PRIMARY")
$primary .= "$row[Column_name], ";
$result = mysql_db_query($db, "SHOW FIELDS FROM $table");
if (!$result) {
mysql_die();
}
else {
echo "nn";
}
}
function show_table($db,$selected_table) {
$tables = mysql_list_tables($db);
$num_tables = @mysql_numrows($tables);
相关文章
- twitter国内版-twitter官网入口 03-04
- picacg哔咔-最新稳定入口2026 03-04
- 推特官网网页版怎么进-twitter网页版官方入口 03-04
- 漫蛙manwa2正版下载-漫蛙2官方正版下载 03-04
- Twitter(推特)网页版官网入口一键直达-国内访问方法及地址全收录 03-04
- 推特网页版登录入口在哪里-推特网页版语言设置怎么改 03-04