hi friends why this php string error ?
echo '<div id="album_list"><a href="view_gallery/album_pix/ .$v['id']. ">' . $i . ' ' . $v['album_name']. '</a></div>';
I'd change your variable names to reduce the confusion. As someone said above syntax highlighting will turn all the strings one color, and the variables another. Stack Overflow even displays code as such.
<?php
$v_id = $v['id'];
$v_album_name = $v['album_name'];
echo '<div id="album_list"><a href="view_gallery/album_pix/' . $v_id . '">' . $i . ' ' . $v_album_name . '</a></div>';
?>
.$v['id']