How to add two variables together in PHP?
<p>I'm currently trying to put two variables together, one that has already a specific number automatically calculated by <code>imagesy</code> and the second variable is returning data from url with <code>$_GET['l2_y']</code></p>

<pre><code>imagettfstroketext($jpg_image, 0, $y . $options['text']['font-position']['l2_y'] );
</code></pre>

<p>The $y returns <code>'29'</code></p>

<p>and the <code>$options['text']['font-position']['l2_y']</code> returns <code>+150</code> (or whatever I set in the header)</p>

<p>I am trying to combine the two but it's not working at all, if I remove the <code>$y .</code> then the +150 works but if I add the . it doesn't calculate everything.. </p>

<p>I've been stuck at this for a while now, I'm not sure how to combine the two, the reason I am using + signs in get is because it can also be used as a <code>-150</code> to change the position of the text.</p>