If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

// If there is at least 1 member listed as Faculty, then we are going to get the header and table set up and ready to display each member.
if ($facultyfound == true)
{
$html .= '<h2><a name="faculty"></a>Faculty</h2>';

for ($i = 0; $i < $size; $i++)
{
/*
While we are looping through the for loop, we check each node to see if that node's information corresponds to the given department
shortname and that the member is Faculty. If that is true, then we display the necessary information about them. If the XML element
that normally contains information is actully empty, then it will just leave that space empty on the table as well in the corresponding
position.
*/
if ($members[$i]['department'] == $thedepartment && $members[$i]['facultytype'] == 'Faculty')
{
$html .= '<tr name="'.$members[$i]['shortname'].'">';
$html .= '<td style="vertical-align: middle; text-align: center;"><a name="'.$members[$i]['shortname'].'"></a><img src="'.
$members[$i]['smallimg'].'" width="70" height="70"></td>';
$html .= '<td style="vertical-align: middle; text-align: center;"><a href="http://www.power.edu/'.$deptURL.'/faculty/faculty.php?name='.
$members[$i]['firstname'].' '.$members[$i]['lastname'].'">'.$members[$i]['firstname'].' '.$members[$i]['lastname'].', '.
$members[$i]['credentials'].'</a></td>';

That image doesn't even work. Are you sure the images are linked properly? PHP returns text to a browser, so something simple as displaying images is all on the HTML you've written, and that its not working has nothing to do with the PHP.