Once again, this has probably been asked numerous time before but I don’t exactly know what this is called or how I would go about searching for it. So sorry for that one.
What I want to do is have all the information on one of my pages be drawn from a txt file through php. I’m doin it all in html, no flash. So if you can point me to a tutorial or just tell me the code it would be great. I’m sure its relatively easy and everything, I’m just new to all of this.
Thanks in advance
ok another question… I want to randomlly load up an image onto my site… what I want to do is have a file such as image.txt have information like this
image 1.jpg
image 2.jpg
image 3.jpg
(that would be in proper html, thats just an example)
I then want to just have it randomly select a line and display the html code… i know its possible because ive seen a few examples, but couldnt figure them out…
so if you could tell me how to do that as well it would be great
thanks a ton
the ‘include’ is a php function that includes any kind of files in the script… what the script above does is merely display the contents of the textfile in the html file the script is embedded into…
lol… no problem
for an effect like this one i would use JS, it’s client side… theres no need to get the server invloved in generating a random image you know
ohh ok
i never understood client and server side but now that i think about it its pretty obvious… i guess php would be kind of overkill… thanks again times a miilion, btw, your site with asian person looks pretty cool