hno Posted February 13, 2010 Share Posted February 13, 2010 HI I have written this script to geting back up from data base and save it in a file : ob_start(); $db=mysqli_connect("localhost","root","","php"); $tableName = 'user'; $backupFile = 'b/user.sql'; $query= "SELECT * INTO OUTFILE '$backupFile' FROM $tableName"; $result = mysql_query($query); echo mysqli_connect_error() ; if ($result) echo "success"; it is not working what is the problem ? thanks Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.