View Single Post
Old 12-06-2012, 01:30 PM   PM User | #5
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 849
Thanks: 67
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
If that is the case, it would seem your elseif statement is always executing.

Can you post your code for the curPageName() function? Maybe it could be the return value?

Kind regards,

LC.
LearningCoder is offline   Reply With Quote