Load_relationship php error

Just one thing. Based on my experience, it’s not good idea to include DB information in your code. It is better to use SuiteCRM methods to avoid security issues and maintenance related problems. Take a look into this sample to see how DB information is called: