Quote:
and since you are first using the $output _inside_ a loop, then returning it outside the loop at the end of the routine, you do need to pre-declare it.I know, that's what I was saying
Quote:
$myThat would cause a hiccup :)
Quote:
The more consistent you are, the more clear you are, the better your scripts will go together, and the easier they will be to read and maintain.Yup, thats why I use strict and OO programming in my scripts.
btw, above, $sth and $search_db also need to be declared with my()
Also Im not sure where $Search and $results are from.