Jump to content


Photo

searching by variable


  • Please log in to reply
22 replies to this topic

#21 witham

witham
  • Members
  • PipPipPip
  • Advanced Member
  • 86 posts

Posted 28 July 2006 - 08:18 AM

Do you ever have one of those "Homer Simpson" moments? Dohhh!!

Tried to tidy up the page by deleting redundant statements and hey presto.

Sorry to have wasted your time of such a fundamental error!



#22 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 28 July 2006 - 02:40 PM

Just remember to always double check yourself and also place echo statements--line by line if you have to--to determine where the problem is. I think one of the most important steps to becoming a good programmer is to be able to debug yourself. I know it's tempting to simply say "Hey, it didn't work; Help" with a forum available, but pause next time and look over your code a little more.
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#23 witham

witham
  • Members
  • PipPipPip
  • Advanced Member
  • 86 posts

Posted 29 July 2006 - 03:09 PM

Excellent advice and taken in the spirit given

Many Thanks again




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users