title: can I get the month from the time stamp if it is possible how canI do that?
body: <p>When a image is uploaded to the site I want to display the month which it was uploaded under the picture. I have a time-stamp field in the database.</p>
  
  <p>Can I get the month from the time stamp if it is possible how can I do that?</p>
  
  <p>I tried to do it using this code</p>
  
  <pre><code>&lt;?php $query="SELECT * FROM magimgdes ORDER BY id DESC, time DESC " ;
  
    $result=mysql_query($query) OR DIE(mysql_error());
    while($row=mysql_fetch_array($result)){
        $value1=$row['image'];
        $value3=$row['time'];
       ?&gt;
    &lt;img src="admin/upload/hompageimage/&lt;?php echo $value1; ?&gt;" width="180" height="195" alt="magimage" /&gt;
  
   &lt;?php echo $value3;} ?&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The "time" field is the timestamp field in database.</p>
  
  <p>I just want to echo only the month.</p>