11Tami Posted October 26, 2006 Share Posted October 26, 2006 ss Quote Link to comment Share on other sites More sharing options...
Psycho Posted October 26, 2006 Share Posted October 26, 2006 You need to be a little more specific by what you mean to "include a gif". the include function merely reads the file specified as code. So, you are reading the contents of the gif as code, thus the numbers.I am going to assume you are wanting this code to display a gif. In that case you cuold do something like this:[code]<?php$getfile = date("j");$imagefile = "file" . $getfile . ".gif";echo "<img src=\"$imagefile\">";?>[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.