negative...lol...let me explain further....the reason for $an[0] to become $Memberamount, is to add this variable only if the member is logged in.....therefore, when inserting the code, <?=$Memberamount?> into the appropriate spot, you can't have outside variables, so when the member is logged in, they don't see the table with missing info. The idea is to negate the call when the member is not logged in...therefore the code looks like this....
if(isset($SESSION[username]))
{
//get member's items (jokes)
$qn2 = "select count(*) from dd_items where Contributor = '$SESSION[username]' ";
$rn2 = mysql_query($qn2) or die(mysql_error());
$an2 = mysql_fetch_array($rn2);
$Memberamount = "\n\t<tr>\n\t<td><img src=\"images/submissionstotal.gif\" border=\"0\">$an[0]</td>\n</tr>\n";
}
else
{
$Memberamount = "";
}
What I am trying to do, is simply make sure the variable, $an[0] has the right font attributes so it doesn't look out of place, as surrounding the tag <?=$Memberamount?> or even <?=$an[0]?> doesn't apply to the called.
Hope that is understandable (BP)
let me know, and thanks for the response.
steve