title: Add background image using php
body: <p>I'm using wordpress and ACF plugins to add an image : </p>
  
  <p><a href="http://www.advancedcustomfields.com/resources/image/" rel="nofollow">http://www.advancedcustomfields.com/resources/image/</a></p>
  
  <p>I would like to add an image in a div as a background.
  I used this code in my style.css but it doesn't work : </p>
  
  <pre><code>background-image: url(&lt;?php $image = get_field('image_projet');?&gt; &lt;img 
  
  src="&lt;?php echo $image['url']; ?&gt;" alt="&lt;?php echo $image['alt']; ?&gt;" /&gt;);
  </code></pre>
  
  <p>Thanks for you help</p>