How can I make this image appear after text using html/php?

Findd Online

New member
This is what I have....
while($row = mysql_fetch_assoc($result))
{
$url = $row['url'];
$image = $row['image'];
$final_url = $row['finalurl'];
$title = $row['title'];
$shortdescription = $row['shortdescription'];
echo "<p><a href=\"" . $url . ".php" . "\"><h3>" . $title . "</h3></a>";
if($image != "")
{
echo "<img src=\"" . $image . "\" alt=\"" . $title . "\" height=\"30\" width=\"30\" />";
}
else
{

}
echo " - " . $shortdescription . "</br>";
echo "<i> " . $final_url . " </i></p>";
}

But, I want the image to appear right after the link. How can I insert text and then an image all on one line?
 
Back
Top