Ahh... that var_dump satement is a good debugger... i ended up being still more puzzled tho... not sure where else to check... cuz where both cases are true... only one case displays properly.... i skipped through a few values with "...."
array(11) { [1]=> string(1) "E" ......... [7]=> string(5) "Kevin" ..... [11]=> string(0) "" } string(5) "Kevin" bool(true)
array(11) { [1]=> string(1) "F" ..........[7]=> string(3) "Sam" ....... [11]=> string(0) "" } string(3) "Sam" bool(true)
Hmm... i will check my other templates see if i am losing something somewhere... unless you guys see something obvious
Quote:
Originally Posted by Opserty
Run this PHP code:
PHP Code:
var_dump($customfields, $name, ($customfields['7'] == $name));
And post the output here.
|