Investment is a risky business and I've heard many uneducated people fall into the get rich quickly/ponzi scheme and lost their life savings. It is a tragic really. But that doesn't mean that you cannot make money by investing in the stock market.
Investing requires discipline, a detachment of emotions and understanding the company/sector of your choice. It is not a gamble by any means if you know what you are doing. A gentleman mentioned earlier that investing in the stock market is no better than gambling, I am unsure if your comment was an attempt at humor or half serious, but I can assure that an educated investor will always come ahead than a gambler.
So do your research but take everything you read with a grain of salt because 90% of the investment materials out there are either written by someone who tries to sell you something or a biased advice without full disclosure.