i can't seem to get rid of the "\n" at the end of each $users_online[$i] its valve would be the same as "Nate_Bro\n" so i tried to use chomp($users_online[$i]); it didn't work, so i tried some other stuff too, i know its probably something really simple that i'm over looking.
Thanks
~Nate_Bro
Code:
for ($i = 0; $i <= $#users_online; $i++){
$thing = "$users_online[$i]";
chomp($thing);
print " <a href=\"javascript:\" onclick=\"JavaScript:window.open('[URL unfurl="true"]http://s101571840.onlinehome.us/mss/cgi-bin/MB/register.cgi?rHy2=pro&name=$thing','profile','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=590,height=425')\"><font[/URL] color=\"#CCCCCC\">$thing</font></a>";
}
Thanks
~Nate_Bro