PHP variable in an ing src
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/12645493/use-img-source-with-php-variable">use Img source with php variable</a>  </p>
</blockquote>



<p>I have a small issue here, i am sure it is an easy one but I am terribad at php.</p>

<p>I am using a WP plugin which pulls at a certain moment the first image attached to a post, in my case, a picture that user uploads upon a business submission (it is a business directory plugin).</p>

<p>I don't want that, instead, I want thumbshots.com generated thumbnails. My code looks like this (I replaced the defaul value of <em>$thumbnail</em>):</p>

<pre><code>if (!$thumbnail &amp;&amp; wpbdp_get_option('use-default-picture'))

$thumbnail = 'http://images.thumbshots.com/image.aspx?cid=HIPFHapOLHw%3d&amp;v=1&amp;w=283&amp;url=URLHERE';
</code></pre>

<p>Now, instead of URLHERE, should be placed an actual URL, the listing´s one. Which is created by this:</p>

<pre><code>&lt;?php echo wpbusdirman_the_listing_meta('single'); ?&gt;
</code></pre>

<p>How do I do it?</p>

<p>Thanks a lot!</p>
