You must have E_ERRORS or something on, and all errors are logged or displayed on your page. I was busy recently and now i have to fix this problem, unfortunately trying this
Code: Select all
$change = array("{main}"=>"Home", "{mail_val}"=>$CFG["site_url"]);
would radically mean changing ALOT of lines of code unsure if that will actually work? does it? i need some sort of confirmation...please...
I have tried to start the function by somehow defining $change = array(); but i think my logic is worng because that totally no work

perhaps syntax...
So i thought that i was wrong in the first place to say $change =''; because that means that $change is a string... right, a string that behaves like an array, and is not accepted by the each().
Then I go and delete $change = '' from the code... Nothing... still php thinks i am declaring a string and not an array of strings...
I thought of using explode in my code, but that doesn't make sense, how could u explode such a complicated string into an associative array?
I hope someone could shed some light on this...
LAtest Update, i have rewritten all the code so that it actually says: $change = array('{something}' => 'somestring');
Albeit still get the error!! Note: I use single quotes very often!