Amy has a really helpful video for 2x2 ribbing on this page -- it's under basic stitch patterns. (There is one video for English style knitting, and another for continental -- just choose the one you prefer.)
There is no right way to knit; there is no wrong way to knit. So if anybody kindly tells you that what you are doing is "wrong," don't take umbrage; they mean well. Smile submissively, and listen, keeping your disagreement on an entirely mental level. They may be right, in this particular case, and even if not, they may drop off pieces of information which will come in very handy if you file them away carefully in your brain for future reference. ~Elizabeth Zimmerman
Go here and go down to basic stitch patterns to ribbing. When you change your yarn from front to back to make knits and purls, you need to bring the yarn between your needles, not over the top or under your work. I think I might have done the same thing a time or three myself when I first learned.
You know how when you are going to purl you bring the yarn forward between the needles? That's all you do. When you are going to purl bring the yarn forward. When it's time to knit again bring it back.
I'm also having trouble with ribbing...
I can do a seed stitch so I know that I am not pulling the yarn under/over the wrong way, but when I try to do a 1x1 rib it keeps comes out looking like a bunch of knots that doesn't resemble any pattern I've seen.
The pattern I am trying to make calls for a cast on of 49 stitches, then 1x1 rib. I've tried it doing all rows starting with knit and also with row 1 starting with a knit and row 2 starting with a purl, but either way it doesn't look like a rib stitch.
When you have an odd number of stitches, you'll end with a purl, so always start with a knit. How many rows have you knit before deciding it's not working? Very often the first few rows of ribbing looks bad--you just keep going and suddenly it's nice.
"Trust the pattern!"
Time flies like an arrow, but fruit flies like a banana.
Hop aboard while we follow the cloud-covered van of knitting harmony, man!! Woooo!! --Hedgehog