Jump to content

[SOLVED] Retrieve from database with no HTML


Ne.OnZ

Recommended Posts

Is there any way to retrieve text from mysql but exclude any html posted in there?

 

Example: If an entry had "<br />< i >Hello</ i>". I would want to retrieve just the the word "Hello". But since there is a <br /> there. Can it just hide the line break code but still be visible when you echo it?

 

Thank You. 8)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.