Well if you don't have any PHP knowledge it would just be better to use a link tracking service like this:
http://www.clixtrac.com
I haven't used that, but it looks like you can sign up for free and set up a link to be tracked. What I assume you will do is enter your link, maybe choose some settings, it will give you a new link (which will go through their server, and use PHP to track the user and send them to your link). This new link can be used in a QR code, so when it's scanned they are sent through the tracking service and out to your URL.