- // $line = str_replace("Y_", "0_", $line);
- // the last line did not belong to a 'create' sql query
- if (!$table)
- {
-
- // this line does not, too
- if (strtolower(substr($line,0,6)) == "insert")
- {
- $data_queries[] = substr($line, 0, strlen($line) - 1);
-
- // this line does not, too
- }
- elseif (strtolower(substr($line,0,6)) == "update")
- {
- $data_queries[] = substr($line, 0, strlen($line) - 1);
-
- // this line does not, too
- }
- elseif (strtolower(substr($line, 0, 20)) == "drop table if exists")
- {
- $drop_queries[] = substr($line, 0, strlen($line) - 1);