Jump to content

[SOLVED] 2 questions about outputs


EchoFool

Recommended Posts

I have 2 questions about outputs of which I do not know how to fix.

 

 

Firstly, say a user inputs a paragraph that they decided to use <Span class=whatever>Words etc</span>

 

How can you stop upon output the class being called so it will just be "Words etc" but not changed the words colour or what ever from a span class that it reads?

 

 

 

 

And secondly say a user inputs a paragraph again with some thing like:

 

This isn't fair!

When i input this i use the :

 

mysql_real_escape_string

 

For safety, but then the ouput for it will become:

This isn/'t fair!

Link to comment
https://forums.phpfreaks.com/topic/111530-solved-2-questions-about-outputs/
Share on other sites

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.