nested mysql connection..