So I'm trying to design a website that will allow the user to input data to design a tower. When it comes to the dimensions of basic parts of the tower (the height, width, and depth), I want to present them in a H x W x D format (i.e. 3 x 2 x 2). Trouble is, I'm having problems with concatenation in the PHP file for the second page of the website where everything's displayed.
Here's what my code looks like so far:
<!DOCTYPE html>
<html>
<head>
<title>Results for tower design</title>
</head>
<body>
Pillar base shape: <?php echo $_POST["tBase"]; ?><br>
Pillar dimensions: <?php echo ($_POST["tHeight"];)." x ".($_POST["tWidth"];)." x ".($_POST["tDepth"];) ?><br>
</body>
</html>
It's highly possible that I might be making a common beginner error. If so, I want to know where I went wrong and how to avoid it.