CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 form add spaces if some one post a table code

Print topic Send  topic

Author Message
Tipu
Posted: 06/15/2002, 4:53 PM

on my site i allow people and my self to post code in a form. but when some one use text and a table in that form. on view page there is a big gap between text and table. for example

here text end







==========================
= here it puts the table =
= =
==========================

is there any way to fix this problem
Nicole
Posted: 06/18/2002, 1:53 AM

Tipu,
please try to replace open and close tag brackets ("<" and ">") with "<" and ">" correspondingly before inserting data into table. Add following code into BeforeInsert and Before Update events. E.g. for CCS (ASP):
form_name.field_name.Value =replace(form_name.field_name.Value,"<","<")
form_name.field_name.Value=replace(form_name.field_name.Value,">",">")


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.