On Fri, 8 Jun 2001, Luinrandir Hernson wrote:
> if ($ENV{'HTTP_REFERER'} = "")
>        {$previous = "an unknown site"}
>        else
>        {$previous = "$ENV{'HTTP_REFERER'}};

Missing a terminating " on the last line there.

You should use ; to end lines as well.  Makes life easier
when you add another statment after one in a month and
suddenly get syntax errors on a live server and the boss
screams at you as the phones start ringing...

Oh, I'm having flashbacks.  :-)

--
Ian

Reply via email to