I'm a Dreamweaver and php noobie (I'm a C++ developer), I'd like to know if there's a way to define different "modes" (e.g. Debug, Release, etc.)? For example, I'd like to be able to have a Debug and Release mode that would affect my database connection and other variables, I'd like to be able to use this in code by doing something like:
if($DEBUGGING)
{ // set connection to debug connection string
}
else
{ // set connection to release connection string
}