|
||||||
| HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
Ok so I have this Business Directory and I have adverts like this:
FindItGlobally.com - Business Directory >> Cheveux Classiques - Detailed Information And as you can see the description is just plain text, how can I add some HTML code in there? For links and formatting? I can't add the code normally, because the data is stored into a database and if I add HTML code in there, it is not executed.. you just see the code as normal text, as part of the description. Can anyone please help me? Thanks!
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
| Sponsored Links |
|
|
|
|||||
|
So anyone is able to help me please? This one just makes no formatting.. only the breakline.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|||||
|
Oh sorry I had completely forgotten about this.
Unfortunatly I don't have time to find the code (I had written it down), but here's the pseudo code for it. //make variables dataBaseOutPut=use to store the value sent from your data base browserOutPut=use to store the out that the user will see give the variable "browserOutPut" the value you want the user to see. give your let's say textarea the value of "browserOutPut" I'm not sure if you know what pseudo code is or not, but if not i'll post that code as soon as I find it. Thanks, Death |
| Sponsored Links |
|
|
|
|||||
|
I know what pseudocode is and I use it myself. And yes I know how to do that, what I want is to display the HTML code, for example if i have <font size=2>bla bla</font> , I dont want to display that, but I want the font to display with size = 2. Because my problem is that the HTML code is shows as plain text.
Hope you understood me.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|||||
|
Yeah, but that will always output the text as h3. What if I use a <b> and an <a href=".....">Text Here</a> It is complicated to explain. well ok let's take this thread.. VBulettine stores this post as text with all the code we make example like this:
Test or perhaps an image or something Now if I edit the text in the text box the syntax is shown, but as you see this post you will actually see that as orange and bold.. Now my Q is, how does vbulletine extract that code and make it appear as formatting, instead of showing the syntax? Thanks.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|||||
|
Like I said store the value of Vbulletines output and store it in a variable.You include bold, and anchors like this:
response ="<b>"; response +="text to be bold"; response +="</b>; response +="<a href='#'>" response +="text to be linked"; response +="</a>"; document.form.name.value=response; - Death |
|
|||||
|
Ok.. you are not actually understanding me. Never mind. Still thanks for your help.
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Peculiar UI Problem Needs Tackling | adriyel | C# Programming | 2 | 04-06-2008 07:46 AM |
| i have a problem please help me!!!???? | stack | Java Help | 8 | 09-22-2007 03:17 PM |
| [C] Comparison problem | Alhazred | C and C++ | 1 | 08-29-2007 04:58 AM |
| null exception problem | connor7777 | C# Programming | 2 | 03-28-2007 11:37 AM |
| A small problem in the output | The_Master | C and C++ | 3 | 12-13-2006 12:04 PM |
| Xav | ........ | 1276.19 |
| MeTh0Dz|Reb0rn | ........ | 1048.58 |
| morefood2001 | ........ | 879.43 |
| John | ........ | 872.39 |
| marwex89 | ........ | 869.98 |
| WingedPanther | ........ | 761.06 |
| Brandon W | ........ | 684.87 |
| chili5 | ........ | 294.12 |
| Steve.L | ........ | 216.18 |
| dargueta | ........ | 192.86 |
Goal: 100,000 Posts
Complete: 81%