Combining PHP Variables
<p>I've the following code:</p>

<pre><code>if ($type == 'unit'){
$item_title = $result["title"];
}
elseif ($type == 'message'){
$item_title = $result["description"];
}
    // all should combine unit and message
elseif ($type == 'all'){
$item_title = $result["description"]
    $item_title .= $result["title"];
}

if (stripos( $item_title, $filter ) !== false || stripos( $item_title, $filter ) !== false)
</code></pre>

<p>How can I combine the unit and message results in the <code>elseif ($type == all)</code> statement?</p>
