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
- if then else Luinrandir Hernson
- Re: if then else iansmith
- Re: if then else Jeff Yoak
- Re: if then else M.W. Koskamp
- Re: if then else Jeff Yoak
- Re: if then else Hasanuddin Tamir
- Re: if then else Paul Johnson
- Re: if then else JTSage
- Re: if then else JTSage
- Re: if then else JTSage
- Re: if then else victor
- Re: if then else Jos I. Boumans
