Okay I have a php form builder. I have a preview of the form the user is building. When the user submits the form the html form is built and the html code is displayed inside a <textarea>. It's all fine but, if I put a text area tag inside a text area the whole thing gets messed up. I tried using &gt; and that stuff, but the problem with that is in the form preview because, the user sees the html form code, not the actual form. Any ideas? Understand?

<textarea cols="100" rows="15">
<input type="button" />
<input type="checkbox" />
<input type="file" />
<input type="hidden" />
<input type="image" />
<input type="password" />
<input type="radio" />
<input type="reset" />
<input type="submit" />
<input type="text" />
<textarea cols="3" rows="2" style="border:solid 1px">&lt;/textarea&gt;
</textarea>

It works for me.
If you could give code, I may helped more.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.