MuSQL imports and exports the entire database as a file: lt ;? Php * export SELECT * export OUTFILE
MuSQL imports and exports the entire database as a file: lt ;? Php/* export SELECT * INTO OUTFILE
MuSQL imports and exports the entire database as a file: ';} Else {echo 'not insert into Table'. $ row [0].'
';}} Echo "The task is finished";} else {if (is_writable (DIR) {while ($ row = mysql_fetch_array ($ result, MYSQL_NUM )) {$ fileName = DIR. $ row [0]. ". txt "; if (file_exists ($ fileName) {unlink ($ fileName);} $ querySql =" SELECT * into outfile '". $ fileName. "'fields TERMINATED by', 'optionally enclosed by '\ ''lines terminated by' \ n' FROM '". $ row [0]. "'"; mysql_query ($ querySql) ordie ("cocould not dump table :". $ querySql. mysql_error (); echo 'dump Table '. $ row [0]. 'success.
';} Echo "The task is finished";} else {echo 'folder '. DIR. 'Can not writeable';} mysql_free_result ($ result); mysql_close ();?>
,