DEV Community

kostaNovak
kostaNovak

Posted on

EP 4: Variables

We learned about string concatenation in php.

It's done with . inbetween 2 strings.
Also we learned how to define variable
$example = "John";

Also, how to use that variable in a string that we concatenate:

echo "Hello $example";

would print out Hello John in this example.

Top comments (0)