Welcome to the Treehouse Community
Looking to learn something new?
variable which displayed echo "Shirts 4 Mike"
chalenge 1 of task 2 on Build a simple PHP application
<?php Var_$name = "Shirts 4 Mike"; echo "Shirts 4 Mike"; ?>
Grace Kelly33,990 Points
To declare a variable you simply need to to the following:
<?php $name = "Shirts 4 Mike"; ?>
you begin the variable name with a $, then give it a name and then assign a value to it using the =
hope that helps!!