Jump to content

marmstro

New Members
  • Posts

    1
  • Joined

  • Last visited

marmstro's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Use a heredoc as ginerjm suggested or change the single quotes to double quotes on your $message variable assignment. Strings in single quotes don't do variable translation where strings in double quotes do. EX: $a = 'Bob'; echo 'Your name is $a' . "\n"; echo "Your name is $a" . "\n"; Output: Your name is $a Your name is Bob
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.