[thelist] option explicit in php?

Sarah Adams mrsanders at designshift.com
Fri Aug 11 08:47:06 CDT 2006


> The problem is that it's NOT throwing an error.  The script is executing 
> as it should, but somewhere along the line one of my original values is 
> getting over-written with something else.  There's probably 5000 
> instances of this variable too, which makes it a pain to go line by line 
> to try to find it, hence the Option Explicit request.

This is probably hopelessly obvious, but sometimes when debugging we
forget the obvious things... Rather than searching the file for
instances of "variableName", try searching for instances of
"variableName =" (and variations on that, such as "variableName .=").
Might cut the 5000 instances down a bit anyway. Good luck! :)

-- 
sarah adams
web developer & programmer
portfolio: http://sarah.designshift.com
blog: http://hardedge.ca



More information about the thelist mailing list