print_r($matches[0]); // $matches[0] will have the statements.
?>
Ray Paseur
I'm pretty sure @gr8gonzo has a good REGEX there, but I also wonder about the usefulness of the programmatic solution. It took me less than 30 seconds to do it all by hand in my text editor. See number 1205.
$src = file_get_contents("yourdum
preg_match_all("/CREATE TABLE [^;]+;/",$src,$matches);
print_r($matches[0]); // $matches[0] will have the statements.
?>