Jump to content

"&" goes blank


robert_gsfame

Recommended Posts

I have this

 

function _preview(){

param = document.getElementById("name").value

param1 = document.getElementById("status").value

 

 

window.open("preview?name=" + param + "&status=" + escape(param1),"width=200,height=200,scrollbars=1,resizable=1,top=0,left=10");

  }

 

The problem is that when i have my status let say    "cool & kind", when i try to get the value which is cool&kind using $_GET

then i will have this coolkind, i dont find any &

 

How can i get cool&kind read completely??

 

what i have on url is this preview?name=myname&status=cool&kind

 

thx

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/189697-goes-blank/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.