Hallo,
mir ist keine andere Möglichkeit bekannt, als die Datei zunächst mittels file_get_contents() auszulesen, und den resultierenden String als Query auszuführen.
Bsp: mysql_query(file_get_contents('query.sql'));
Lass mich aber auch gern verbessern ;)
Viele Grüße
Patrick
--
"Though this be madness, yet there's method in't."
sh:( fo:| ch:? rl:( br:^ n4:( ie:{ mo:) va:} de:> zu:) fl:| js:( ss:| ls:[
"Though this be madness, yet there's method in't."
sh:( fo:| ch:? rl:( br:^ n4:( ie:{ mo:) va:} de:> zu:) fl:| js:( ss:| ls:[