There are a couple codes that don't work for PCSX2, but the Riku code did work for me when I used to use Emuhaste. I now use a program which is called PCSX2CE. This program converts RAW codes into PCSX2 patch files in other words "pnach." So you can put all the codes you want, then convert them, then save the file. Then all you would need to do is put the file in whatever folder the pnach files go for you and enable cheats. I found it very useful
I suggest you use that program. I'm not sure whether or not it is allowed to link to other sites, but search that program up in the PCSX2 forums. It is a lot easier then typing all of it.