Update RD_investor.php

Updated DB credentials and added prepared statement for avoiding sql attack.