darkmessiah
Dec 1st 2007, 8:43 am
I'm having a terible time doing this
var somevalue = "variable+variable";
var somevalue = 'val+val';
var somevalue = 'val\+val';
none of these work
php reads that as "variable variable" I need the + sign in there some how. If I escape the + sign with \, the browser complains that some other variable isn't declared. Javascript shows the +, but php is being a pain.
php is reading that with $_GET['somevar'];
please help, Thanks.
var somevalue = "variable+variable";
var somevalue = 'val+val';
var somevalue = 'val\+val';
none of these work
php reads that as "variable variable" I need the + sign in there some how. If I escape the + sign with \, the browser complains that some other variable isn't declared. Javascript shows the +, but php is being a pain.
php is reading that with $_GET['somevar'];
please help, Thanks.