Does anyone know how to change this code..

PHP Code:
<?include("directory/4/0".date("w").".php");?>
So that an image will appear in the cell where the code is placed?

I have tried this..

PHP Code:
<?include("directory/4/0".date("z").".jpg");?>
But it spews out a bunch of crap as if it reading the encoding for the image itself.

Anyone know enough about php to answer this?

Regards,

Lee