Ricky,
I would suggest you see a doctor....diarrhea that lasts more than a day or two can cause dehydration and electrolyte imbalances which, left untreated, could be serious.
I don't know what's wrong. I had nausea and vomiting for 3 weeks only to learn later that it was caused by my medication.
Too much magnesium can cause diarrhea...and on the other side of that is an electrolyte imbalance can also.
But again, we can't diagnose you. Do get to a doctor as it is probably something minor (like a bug) but left untreated it could turn into something major.
Bethsheba