Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
I have the following piece of (testing) code (for some implementation of the Spaw WYSIWYG-editor):Code: Select all
$imgDirName = '' . $currDMDir . '';
echo $currDMDir . ",";
$tstStr = "a" . $currDMDir . "b";
$imgDirName = $tstStr;
echo $imgDirName;
$spaw_imglibs = array(
array(
'value' => '' . 'siteimg/'. '',
'text' => '' . $imgDirName . '',
),
);Now, when the value is echoed correctly, I expect the value of $imgDirName in the array definition to be set correctly as well. But this is not the case. Strangely enough the $imgDirName value in the array ($spaw_imglibs) is defined as "ab", so somehow the value of $currDMDir is omitted. (This value is used by a Spaw popup window).
How is this possible???
Thanks very much in advance!
Cheers,
Jeroen
Weirdan | Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]