it there a better way to write the line in php?
<pre><code> &lt;div class="meta"&gt;
&lt;?php echo  $submitted."pubblished in".$fenl; ?&gt;
&lt;a href="&lt;?php echo base_path().'comp/'.$node-&gt;nid;?&gt;"&gt;
&lt;?php echo $comment_count;?&gt;comment&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>it there a better way to write the above code.</p>

<p>2,</p>

<pre><code>function blog_gettag(){
    $terms = mysql_query('SELECT vid,name FROM term WHERE vid=2');
    $items = array(); 
    foreach ($terms as $term){
        $items[] = $term-&gt;name;
    }

    return $items;
}
</code></pre>

<p>could i delete <code>$items = array()</code>;  this line. thank you.</p>
