Code: Select all
//Use $_GET if you pass the variables using get
$y = "Sequence of characters";
$result = $_POST['place01'].$y.$_POST['place02'].$y;
Then add on how many more you want. This will produce an output of just what you want.
You said Y is a sequence of characters. So I stored the sequence in a variable called $y.