hi, i want to pass a variable using trough the url, burt the problem is that the variable has an &. my_var='f&g'; so, when i use get to recover it, i only see the f what can i do to have the & in my variable??? thank you
my_var=f%26g If you went to google and searched for & , you would see the url encoding in the url....see the q=%26 ? Easy way to get the url encoding. http://www.google.com/search?hl=en&q=%26&btnG=Google+Search Code (markup):