Attacking is a standard action I think so you can't do that right?
You can do a move and a standard or 2 moves, but not 2 standards as far as I understand it. Looking for confirmation.
That is correct. You get either a full-round action, or one each of a standard and a move. A second move can be substituted in place of the standard, but a second standard cannot be substituted for the move.
Here's a complete overview of action types, as well as a nifty overview of what action is of which type.
Well, you are correct in that point. You can't normally do two standards, but you can do two moves or a move and a standard.
However, regarding this comment of yours on the answer of Matthew Najmon:
makes sense, so casting a spell and then attacking with a weapon is not doable in 1 round right?
That is perfectly doable with the right spell. It seems to me that the doubt is not exactly about actions but about Actions and Spells. While it's true that you can't do two Standard Actions on the same turn, there are lots of spells that don't use up a Standard Action, using only a Move or a Swift Action. Sure Strike, for example, only uses a Swift Action, so you could use Sure Strike, attack, and even move, all in a single turn!
Keep that in mind when talking about Spells and Attacks. There are lots of spells that can be used as a Swift or a Immediate, so it's good to have a reference at hand when doubts arise.