Re: [PHP] Include file error, common one I think

2007-01-13 Thread Chris Carter
I am not sure about this but the requirement is that even the links associated with the image changes with the image. Like an image of restaurant links to restaurants page and image for pubs links to pubs page. Is this achievable through this code. I could not test it coz it was not working. Can y

Re: [PHP] Include file error, common one I think

2007-01-13 Thread tedd
At 9:44 AM -0800 1/13/07, Chris Carter wrote: Hi, Here is code that I got from the internet for random image. This file works perfect if I try it independently but not on any existing file. I think the error that I am getting is quite common on the net but its new for me. I am getting this erro

Re: [PHP] Include file error, common one I think

2007-01-13 Thread Jochem Maas
Chris Carter wrote: > Hi, > > I have used this file in my index file. When I run this file separately it > shows the random image but not when I include on my index.php. your image script shouldn't be included in your [index] page. instead it should be referenced by the src attribute of an img ta

Re: [PHP] Include file error, common one I think

2007-01-13 Thread Chris Carter
Hi, I have used this file in my index file. When I run this file separately it shows the random image but not when I include on my index.php. Thanks in advance, João Cândido de Souza Neto wrote: > > Is it the whole code of your file, or is there any other html code? > > "Chris Carter" <[EMAI