fput$handle,$msg[$i]."\r\n";
}
fput$handle,"-------php2000dumpdataprogramV1.0forMySQL--------\r\n";
}
fclose$handl;
echo"ok";
?>
导入的顺序如下:用法同上面!
if$table==""exit;
mysql_connect"localhost","name","password";
mysql_select_db"database";
$messag=file"$table.txt";
echo$numfield=chop$message[0];
for$k=1;$k
{