Computer Science Canada Difference: echo 'message' VS echo "message" ? |
Author: | MadiAraly [ Wed Jul 13, 2016 12:59 pm ] |
Post subject: | Difference: echo 'message' VS echo "message" ? |
I've seen echo be used with both single quotation marks/apostrophes, and with normal quotation marks. When do I use each one? |
Author: | MadiAraly [ Mon Jul 18, 2016 10:47 am ] |
Post subject: | Re: Difference: echo 'message' VS echo "message" ? |
echo '$message' outputs the variable name as is, whereas echo "$message" outputs the variable's value. |