As simple as the title says.
PHOTO CODE :
<center> <a href="home.php" title="logo"><img src="images/header.jpg" width="860" height="250" alt="logo"> </img> </a> </center>
TEXT CODE :
<?php
session_start();
if(isset($_SESSION['SESS_MEMBER_ID']) && ($_SESSION['SESS_MEMBER_PASSWORD']))
{
echo "Welcome "."<b>".$_SESSION['SESS_MEMBER_ID']."</b>". " ";
echo '<a href="logout.php" title="Logout"><b>Logout</b></a>';
} ?>
you can use table
<tr>
<td>Image</td><td>text</td>
</tr>
or use div
<div style="display:inline-block">
image
</div>
<div style="display:inline-block">
text
</div>
Basic css box model.
Div Container - align ceenter. Image - Text Close div.
You technically don't need anything else unless some of your CSS is overwriting something it shouldnt.
Of you are having trouble you can do 2 things.
Div subcontinent - width:#px;margin:auto;
Or Image - display:inline-block;
Storing a password in a session is both against PCI compliance and a major security risk btw. Risky even if stored md5 encrypted.