Forum Moderators: coopster

Message Too Old, No Replies

Draw text/content from a text file into a web page

text file + php script equals easy display on site

         

humpingdan

10:28 am on Jan 22, 2004 (gmt 0)

10+ Year Member



My site is entierly css, what i want to be able to do is for some of the pages i.e resource pages, id like to include bits of text and links, short description with a link, id like this to be php driven, simply by entering text and small ammounts of html tags into a txt file, then a php script draws it up from the txt file to the page!

Thanks

coopster

10:42 am on Jan 22, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Have you considered the PHP include() [php.net] function?

humpingdan

11:41 am on Jan 22, 2004 (gmt 0)

10+ Year Member



i dont know enough about php to use any kind of statement unfortunatyly complete newbie, maybe i shud have insluded that> anyway, can anyone expand on this?