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,">",">")
|
|
|
 |
|