Are you pg_connect("server","","","","database"); correctly?
As for capitalization, if the table name is BoardInfo, and you reference it with BoardInfo, then you're fine.
Are you sure that the name has both the B and I capitalized? Not one or the other?