How do I glue?


#1

I cant echo dis crap halp

<?php
$name="Name";
strlen("YOUR NAME");
$number=count("Name")
echo "$name $number";
?>


#2

Concatenation in PHP is done like this:

$age = 25;
$name = 'Name';
echo 'My name is' . $name . ' and I am ' . $age . ' years old!';

You have to use dot (.) to connect strings and put your variable outside apostrophes.