restoreDataBase($path,$file)
这个应是构造函数
意指实例化时就自动调用执行的函数
可以在实例化时就指定这两个参数$restoreDataBase=new restoreDataBase($path,$file);
这个应是构造函数
意指实例化时就自动调用执行的函数
可以在实例化时就指定这两个参数$restoreDataBase=new restoreDataBase($path,$file);
restoreDataBaseStruct
在里面echo一下就行了
function restoreDataBase($path,$file)
自己试着看一下,因为这里面用到了其它的函数,所以如你所说!