Jump to content

Implode on ampersand?


ryandward

Recommended Posts

I need to pass this variable via AJAX, but I cannot seem to implode it properly, everything should be working since I am using UTF-8 encoding, but this:

 

$mrq = (implode("&",$mrqa)); echo $mrq;

 

is giving me:

 

macro0=Americas¯o1=Southeast Asia

 

but I am expecting

 

macro0=Americas&macro1=Southeast Asia

Link to comment
https://forums.phpfreaks.com/topic/237663-implode-on-ampersand/
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.