I have table (data) and I need to insert some php inside

How do I do that?

**my code :**

```
$data['produit'] =  '       
        <label for="designation" class="col-sm-1 control-label">Désignation</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="NEED PHP HERE FOR EXAMPLE" id="designation" readonly>
        </div>
        <label for="prix" class="col-sm-1 control-label">Prix </label>
        <div class="input-group col-sm-1">
            <input type="text" class="form-control" aria-describedby="basic-addon2" name="prix" id="prix" readonly>
            <span class="input-group-addon" id="basic-addon2">€</span>
        </div>
        ';

```

i need to do something like that : 

```
$data['produit'] =  ' <input type="text" class="form-control" 
    name="' . echo 'test' . '" id="designation" readonly>';

```