Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display < > brackets from MySQL data?

Status
Not open for further replies.

229257

Programmer
Apr 23, 2002
54
GB
I am writing a simple PHP page to display some data I retrieve from MySQL but the problem is some of the data contains pointy brackets < >.

When displaying this in HTML this prematurely closes some of the HTML tags meaning the data is not displaying correctly.

Does anyone have a solution to this problem?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top