Ok can anyone help?
I have an index.php file that i would like to pass a html file name too,
ie: <index.php?1023.htm > so that my index will display itself as normal, but insert html code (from 1023.htm) into the point i wish.
Thanx for any help.
t0ny
you may take a look at include
Cheers that works a treat,
one thing though can i trap an error if the include fails, ie:
index.php?art_id=1023.htm (when 1023.htm does not exist)
Thanks for your help
t0ny.
Yeah. You can use file_exists(). Or just look what include() returns.