Recently Myacen turned registered globals off, which has greatly hindered my site's scripts, and in fact I had to rework a bunch of pages and it still doesn't fully work. I'm rather new to php and I guess you can say my coding is a bit primitive or redundant, but I was just wondering if there was a way around using register globals.
For example, I have a memberlist and an applicant list, that displays the username in a neat and organized list in order by their ID. In order to be able to view the individual member profile or application I've been using the following:
$result = mysql_query("SELECT userid,username,user_level,aim,icq FROM users ORDER by userid ASC");
while($temp = mysql_fetch_array($result))
{
echo "<tr bgcolor=\"#E6E6E6\" onmouseover=\"style.backgroundColor='#D6D6D6'\" onmouseout=\"style.backgroundColor='#E6E6E6'\">
<td width=\"150\" height=\"15\" align=\"center\" valign=\"middle\"><font color=\"#000000\" size=\"1\" face=\"Arial, Helvetica, sans-serif\"><a href=\"http://cod.seeohdee.com/viewprofile.php?page=profile&user=$temp[username]\">$temp[username]</font></a></td></tr>
}
I took out a lot of the html so it didn't take up too much space, but I wanted you to get an idea of what I'm talking about. This in particular: