title: How do you embedded your sql queries in php scripts (coding-style)?
body: <p>how do you embed your sql scripts in php? Do you just write them in a string or a heredoc or do you outsource them to a sql file? Are there any best practices when to outsource them ? Is there an elegant way to organize this?</p>