Hi all,
I am building a sitebuilder. I dont want to use database to save the contents of user's pages, the contents will be required only when user what to update his/her pages. for example..I have stored the home pahe contents in a "home.txt" file..in this format...
Heading:Welcome to my tabish's home page
Para:I am so and so working in a web developing company so on blah blah blah
Heading:Who am I
Para:I am blahblah blahblahblahblah blah blah
blahblahblahblah
and so on..
Well now when user want to edit his/her home page "I want to show each "Heading" in a textbox and each "Para" in a textarea..
So how could I get each Heading and "Para" from a "home.txt"..As I am really lasy about the reguler expression..Please help me..
Thanx
Tabish