One in four adults have been talked into investing in stocks and shares – by a mate in the pub.