e.g.
i have 4 images... i'm trying to do onclick i swap id's(mysql) with the next onclick(image)..
basically just swap id's but its activated by javascript onclick. the javascript part is what i'm having trouble with because you can't write mysql statements in a function..
any help