Hi PRH, sorry to hear about your pineapple. I started growing them a few years ago and found this advice very helpful. Hopefully it may assist you in trying to grow them too.
1) Cut the top off the pineapple and remove all of the fruit. If you leave some fruit on it may rot the top.
2) Remove the bottom 1″ or 1 and 1/2″ of leaves The stalk will root but the leaves will rot.
3) (the secret) Dry the top for two days or until a callous forms Depending on the humidity this could be as short as a day or as long as a week. Do this some place cool and dry. If you don’t do this the stalk will rot.
4) Dip the stalk end in water and then into rooting hormone. This makes rooting faster.
5) Lay the stalk in a pot of fast draining potting soil so that only part of the stalk is touching the soil. Don’t put the entire stalk in the soil. In other words DO NOT plant the stalk in a vertical position. If you do then it is highly likely the stalk will rot. If you live in a very dry climate (e.g., Arizona or New Mexico) then put the pot and stalk in a plastic bag (e.g., dry cleaning bag) to conserve moisture.
6) Mist frequently to keep the soil moist but not wet. Roots should appear in 2 or 3 weeks.
7) Once roots appear, repot the pineapple (this time in the vertical position) in a fast draining potting soil (e.g., half potting soil half perlite).
Remember, pineapples are actually bromeliads. Hence they like tropical conditions. High light, constant humidity, and constant lite fertilizer in the summer time.
In 2 or 3 years, it will grow another pineapple.