alternate #1
1.you can do parsing from mysql_result and write onto some file like "result_script.php" with php function.
2.then you running that script.
3.delete that file.
alternate #2 {I not sure perfect}
1.you can parisng result and stripslashes all
slash quote.
2.running that result as php userdefined function.
I think alternate #1 is the best for U.
radu wrote:
New to MySQL. I have typed up some commands in my text editor to create some tables... I saved the file as whatever.txt.
How do I call on this file/script from MySQL to be applied to a database? I am running mysqld from a MS-DOS prompt in Windows. Do I call it from the bin/mysqladmin, or do I go into mysql? What are the commands? I want to run the whatever.txt script to the databases called "mynewdb."
Thank you