hello,
Im trying to take a string from a cookie and give each text after a & to be a value
here is the cookie
test=this is a test&Fontsize=fontMedium&MostRecent=on&LastVisited=on&id=19&MarketPlace=on&KulturKorner=on&Quote=on
here is exploding the string...
$cookthis = $_COOKIE['Custom'];
print $cookthis;
$test = explode("&", $cookthis);
for($i = 0; $i < count($test); $i++)
echo "<br><br>$test[$i]";
here is the string after I explod it..
test=this is a test
Fontsize=fontMedium
MostRecent=on
LastVisited=on
id=19
MarketPlace=on
KulturKorner=on
Quote=on
what I want is to make it so that the following are varibles
$test = "this is a test";
$Fontsize = "font Medium";
$MostRecent = "on";
$LastVisited = "on";
$MarketPlace = "on"
$KulturKorner = "on";
$Quote = "on";
how does one make a string inot varibles like that?