如何加入两个php变量来创建一个值

Is there any way to join two php value to make one word i have tried this code

PHP

for($n = 0; $n <= 2; $n++)
{
    $check+$n = '<"strong">';
}

i want it to return some thing like

$check0  = '<"strong">';
$check1  = '<"strong">';
$check2  = '<"strong">';

joining the values of $n with $check

Your code puzzled me greatly at first. Basically, you want an array, like:

$check = array(); // make an empty array
for($n = 0; $n <= 2; $n++)
{
    $check[$n] = '<"strong">'; //put stuff in each index
}

Variable variables:

<?php
for($n = 0; $n <= 2; $n++)
{
    $varname = 'check' . $n;
    $$varname = '<"strong">';
}

Notice the double $ in line 5.

http://php.net/manual/en/language.variables.variable.php

$check.$n will do the trick. You don't use a + like java but a .