Hello Sharon,
I see
H has posted some code in the other thread about this and you said you didn't understand it. Basically without register globals, you need to
declare (or
register) the name of a variable before you use it (see the code in
blue). The code in red is what fails when register globals is disabled. So, you need to create lines similar to the blue code for each variable that isn't registered.
Code:
$nextID = $ID;
$age = $_GET['age'];
$sql = "SELECT * FROM Downloads WHERE age = '$age'";
if($nextID != "")
{
$sql .= "&& skinID <= '$nextID'";
}
$sql .= "ORDER BY skinID desc LIMIT 8";
$getSkin = mysql_query($sql, $linkID);
// echo "$sql";
while($Downloads = mysql_fetch_array($getSkin))
if ($age == "$age")
{
Regards
Jonathan