Jump to content

Passing HTML through forms


eleven0

Recommended Posts

I use my forum system to manage my site.

 

I put my html in the postbox and decode vars to show it on my site. Everything works great except a single thing. I think this goes here because i use php to get it from database.

 

So my problem is;

 

In html, if you do this

 

Hello
World

 

If you don't put <p> or <br/.>, it won't put "World" in next line.

 

Mine does this automatically, When you "enter" "break" skip in script. In actually page, I'd see those skips. I'd have to put my HTML one huge single line.

 

I use page editors to build my web pages, and they don't put the html in a single line.

 

Is there anything i can do to fix this? or a tool that gets rid of those skips?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/93105-passing-html-through-forms/
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.