Little bit of a silly question, but I am learning maybe you can teach me something!!
I sometimes have mysqli queries that are 5 or 6 lines long, I first test them using phpmyadmin where I can press enter to "lay them out" neater for me to see when coding. If I copy and paste them into my php file, they won't work because of the line breaks.
I know I can add to a variable, and have it like:
$query = "SELECT bla bla bla bla";
$query .= " FROM table ...";
$query .= " WHERE ...";
But I just wondered if there was a better/easier/nicer way to lay out my code. I use phpstorm and have wrapping on which is okay, but wraps at the edge of the screen where as it would be nicer to wrap at specific points.
Maybe a bit silly, but nice to know if there is a trick !!
Thanks