KJM:
"You will get a spanking," said Phil.
'You think so,' thought Mel saying, "Why?"
Used like this, they're not apostrophes; they are single quotation marks. I have also used them to differentiate speech from an unspoken thought, though I prefer to use italics for thoughts.