put a from in a variable for echo output in php code example Example: php variable in echo echo 'Hello '.$variableName.'!';