how to declare a variable using echo code example Example: php variable in echo echo 'Hello '.$variableName.'!';