I have a PHP file on my server and I want to import that to my mysql database using a PHP script. Anyone help with this, am doing my nut in as I can't get it to work.
<?php passthru("nohup mysql -u USERNAME -pPASSWORD DBNAME < dump.sql"); ?> i hope it helps Regards Alex