Is it possible to assign a variable to a file (in this case a pic) in php???


-----------------------------------------------------------------
<html>
<body>
<?php $num=4;
$i=10;
$res=$i*$num;
$foto=pic1.gif;
printf("resultado igual a $res
");
php?>






<center>
[img]<?$foto?>[/img]

</body>
</html>
-------------------------------------------------------------------------

The numerical variables are correctly displayed, but the picture is not shown at all, the picture is stored in the same dir as my .php file. I don't know what else to add so that the pic can be displayed.

thanks