Use a comma instead of a period at the end of a quotation that is followed by attribution: "Write clearly and concisely," she said.
Do not use a comma, however, if the quoted statement ends with a question mark or exclamation point: "Why should I?" he asked.