Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- My “announcer display list” is out of control


Scotty13 - 11:01 pm on May 10, 2012 (gmt 0)


I'm only a rookie, so I would appreciate any help and please don't answer with to complicated replies.

I’m following tuts to build a social network from someone on youtube.

My echo $announcerDisplayList;
Sorry, I had to attache URL: [myglobalpnr.com...] I didnt know how to explain what was going on.

PHP entry…

$announcerDisplayList .= '<table width="100%" align="center" cellpadding="4" style="background-color:#CCCCCC; border:#999 1px solid;">
<tr>
<td width="12%" bgcolor="#FFFFFF" valign="top"><a href="root/res.php?id=' . $uid . '">' . $announcer_pic . '</a>
</td>
<td width="100%" bgcolor="#F9F9F9" style="line-height:1.5em;" valign="top"><span class="liteGreyColor textsize10"> ' . $whenAnno . ' <a href="root/res.php?id=' . $uid . '"><strong>' . $username . '</a> Announced: </span><br />
via <em>' . $anno_device . '</em></span><br />
<span class="textsize10"> ' . $the_anno . '</span>
</td>
</tr>
</table>';
}
}


</head>
<body>
<p>
<?php print "$MemberDisplayList"; ?>
</p>
</div>
</div>
<?php print "$announcerDisplayList"; ?></td>

</table>
<br />
<br />
</td>
</tr>
</table>
<?php include_once "footer_template.php"; ?>
</body>
</html>



1. Why are the entries all spaced out?
2. Why “_” between each word.

Thanks,
Scott


Thread source:: http://www.webmasterworld.com/php/4452013.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com