Lines 7-11 should actually read as the following and then what I was saying makes sense 7 } else { 8 //a bunch of variables declared here so I pulled them out for space 9 } 10 $this->sendResult("Edit",$varsToEdit); 11 } I had accidentally erased the curly bracket on line 9. This made me realize, though, that I should have included $this->sendResult inside the else statement and none of this would have happened in the first place! (sheepish grin) Thanks, Kirk -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php