Magnus wrote :
> Response.write "<IMG SRC=""/billeder/nyheder/583/f2.jpg""
> BORDER=""0"">"
>
> Denne linie indsætter et billed på mine nyheder men hvordan laver jeg
> en If-sætning som siger:
>
> IF "billed findet" THEN
> Response.write "<IMG SRC=""/billeder/nyheder/583/f2.jpg""
> BORDER=""0"">"
> ELSE
> Response.write "Intet billed!"
> END IF
set oFso = Server.CreateObject("Scripting.FileSystemObject")
if oFso.FileExists(Server.MapPath("billeder/nyheder/582/fs.jpg")) then
...
end if
--
Jesper Stocholm
http://stocholm.dk
Give a man a fish and he will have food for a day,
give a man an elephant, and he will have food for a week.