I am using urlencode for me to send data via get method. The problem I have used it in two places in my code. The problem I notice I get different values one is cN=BASF+Petronas&tN=Defensive+driving+training and another is %3FaCID%3D20%26aTID%3D1%26cN%3DBASF+Petronas%26tN%3DDefensive+driving+training. The problem when I tried to do $cN=$_GET; and $tN=$_GET; it gives me error on the second urlencode. I can not see the error but just a page saying page not found. Why is it happening like this?