Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Align picture within fieldset ,Help!

$
0
0
Hi friends
I am trying to align a picture grabbed from database in right side within fieldset.
but this is not working
please help me in it friends.
 
echo'<fieldset style="width:400;align=center;"><legend>Your Profile</legend>';
echo'<table>';
echo'<tr><td>Name: '.$row['firstname'].' '.$row['lastname'].'</td>';
if(!empty($row['picture']))
{
echo'<td><img src=" '.upath.$pic.' " alt="Image not found" width="80" height="80" align="middle"></td></tr><br/>';
}
else
{
echo'<td><img src="images1/nopic.jpg" alt="Image not found" width="80" height="80" align="middle"></td></tr><br/>';
}

Viewing all articles
Browse latest Browse all 13200

Trending Articles