Welcome to FlyerTalk lart5!
In my experience, my cheap United tickets have always earned miles unless the terms and conditions of the fare explicitly said I wouldn't.
It would be helpful to know what fare class your ticket is booked in.
Also, this is actually not the right thread for your post - this question would be more appropriate in the United Airlines forum as it pertains to them.