The reason our stomach hurts when laughing so hard is because our abdominal muscles contract which then forces the fluid in our bladder downwards through the sphincter muscles.
It's very normal for your stomach and sides to even hurt when laughing hard and no harm will come of it.