It is just two different ways of saying "nice meet you". on top of grammatical side which Mehmet already explained, I would just add, you could either go with the shorter version which is more common or the longer version which sounds more formal, to me at least.