Diarrhea like stools that last more than three weeks are usually due to functional intestinal disorders.
Your symptoms are characteristic for IBS, irritable bowel syndrome (diarrhea predominant type).
Is your abdominal pain subsiding soon after the bowel movement?
Do you usually feel like you haven't completed your bowel movement?
Have you experienced a loss of a bowel control?