Quote:
Originally Posted by Nikas
So in another words, if I change the queries to single line. The query would works fine?
And thanks for your help!
|
What UrealEd is trying to say lies in the problem with this line of code:
When you use "\n" you are splitting up the data in $schema by line brakes.
The problem with doing that, is the queries can span multiple lines, and you are breaking the queries up into individual lines at every line break.
And your getting the queries one line at a time, when you need to get the whole query. So you need to define away to separate the queries and explode on that value.