I've been told that it's a common practice to separate MySQL
code from PHP
code, is this true? Is this like a new coding standard? Are there any benefits of doing such?
Can someone direct me what are best coding practices (PHP/MySQL
) when writing for masses (open source script for example).
Thanks!