|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
is there any <MagicTag> which can suspend the
browser reading the HTML <Tag>: eg: <MagicTag> Hello<BR> World<BR> </MagicTag> will output: "HelloWorld" instead of "Hello World " I need to do this because I have a <textarea> input field in a homepage. I dont want anyway use <TAG> on that input field. |
|
#2
|
||||
|
||||
|
Not quite sure what you want but
<hello<br>world; will output 'hello<br>world' what exactly is it you want to achieve? firepages@hotmail.com ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
|
#3
|
||||
|
||||
|
sorry - forum disabled the <!--'<'-->
<!--<hello<br>world;--> will output 'hello<br>world' what exactly is it you want to achieve? firepages@hotmail.com ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
|
#4
|
|||
|
|||
|
Thanks for your reply firepages,
indeed, I have made a message discussion board by PHP/MySQL. I just found out that if someone put a HTML <TAG> eg, <TEXTAREA> in a message, my discussion board program might display something "wrong" i want the browser ignore reading the <TAG> I am not sure if <!--- will work let me try it out thx for your reply. |
|
#5
|
||||
|
||||
|
hi again
sorry about the last couple of messages - the forum would not print out the '&literal command - which is exactly the sort of thing that you want to avoid , malicious html tags in textareas etc can be a problem . I note that you have PHP - so why not use the php ereg commands you can check and format any inputted data before you save it anywhere. See the Regular expression functions in the php manual (http://www.php.net). Regards Simon ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > suspend browser reading "TAG" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|