Yea, thats what I thout u meant... Then I don't really understand what you need to spell check, comments? Messages sent to the browser? If the latter, I would suggest putting all of these messagesinto a function and calling them that way, so u can check speling in one area (IE if ($some_error_condition) { $err_msg = message(1); } and the message function would case the number passed and return a specific message string.