decoding HTML tags from a database into a php page
Posted: Tue Mar 24, 2009 1:55 pm
Two questions:
1)
I created a database with a descripton field. Inside this field I also include some HTML tags for links and to format some text. The Database encodes the HTML files, for instance a break <br /> tag is written as <br />
My problem is that when I view the data in a browser it places the HTML tags with the text. Is there a way to read the html tags so links and text are displayed in elegant way?
2)
I Also trying to bind a date field and display it in a table. but it needs to be converted from Julian Day count to Gregorian date. Does anybody knows how to?
Thank you any feed back will be greatly appreciated. von
1)
I created a database with a descripton field. Inside this field I also include some HTML tags for links and to format some text. The Database encodes the HTML files, for instance a break <br /> tag is written as <br />
My problem is that when I view the data in a browser it places the HTML tags with the text. Is there a way to read the html tags so links and text are displayed in elegant way?
2)
I Also trying to bind a date field and display it in a table. but it needs to be converted from Julian Day count to Gregorian date. Does anybody knows how to?
Thank you any feed back will be greatly appreciated. von