Re: dumping array to file

From: Date: Thu, 16 Mar 2006 11:57:58 +0000
Subject: Re: dumping array to file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-232020@lists.php.net to get a copy of this message
blackwater dev wrote:
I am doing a select from a mssql db and will then pump it into a mysql db. What is the easiest way to take the result array from the mssql db and dump it to a file that I can just pull into MySQL short of writing out to the file row by row.
how else are you going to generate a 'dump/insert' SQL script that you can feed to the mysql engine via the command line? there is no mysql_turn_this_query_into_an_importable_sql_dumpfile() function. ;-)
Thanks.


« previous php.general (#232020) next »