Hello,
Can anyone help a newbie please?

I am getting a "Parse error: parse error, unexpected T_VARIABLE in /var/www/html/avast/catalog_products_with_images.php on line 474"

Code:
echo("<a href="$PHP_SELF?listing=" . $sort . "&page=$pageprev">".BOX_CATALOG_PREV."</a> ");
I am using MS2-MAX with Red-Hat/Linux 9.0, PHP/4.2.2-17, OpenSSH_3.5, and MySQL version 3.23.54 DB

Also, there is another line of code that looks a bit suspect to this novice
line 497
Code:
if($i>0) echo("<a href="$PHP_SELF?listing=" . $sort . "&page=$i">[$i</a>] ");
The square closing bracket seems to be in the wrong place. Am I correct???

Any help will be greatly appreciated
Thank you
Anne