Using echo statment:
$txt1 is: Hello World!
$txt2 is: What a nice day!