Find a keyword, then display each line until it finds the next keyword in PHP
What I want to do is: Open a sql file Find a keyword then display the line Keep displaying each line until the next keyword Keep doing 1 - 3 until the end of the file This is my code…