debugging help wanted

From: Date: Tue, 10 Apr 2007 10:06:05 +0000
Subject: debugging help wanted
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13702@lists.php.net to get a copy of this message
Hello, I've got quite strange results whith the following routine: foreach ($result as $key => $val) { echo "$key => $val<br>"; $smarty->assign($key . '_value',$val); $smarty->assign($key . '_selected',$val); } One of the keys is 'ac_type' and $val is 'xxx'. With Smarty-debugging on, I get : 'ac_type_value' empty 'ac_type_selected' 'xxx' All other assignments work as wanted... Is there a smart way to find out, whether there has been a conflicting assignment to 'ac_type_value' and at what point of script processing? Peggy

« previous php.smarty.general (#13702) next »