scrubbicus Posted March 28, 2011 Share Posted March 28, 2011 How can I use PHP to export my database into a .sql file? Quote Link to comment https://forums.phpfreaks.com/topic/231911-exporting-database-into-a-sql-file/ Share on other sites More sharing options...
trq Posted March 28, 2011 Share Posted March 28, 2011 You can use the exec function to execute the mysqldump command. Quote Link to comment https://forums.phpfreaks.com/topic/231911-exporting-database-into-a-sql-file/#findComment-1193125 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.