|
|
|
|
![]() ![]() |
Jul 15 2006, 05:39 PM
Post
#1
|
|
|
Define:EVIL PROGRAMMER (ē'vəl prō'grăm'ər)- n. An organism that converts caffeine into evil software. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,074 Joined: 25-September 05 From: Los Angeles, California Member No.: 12,251 |
ok, ive got a chat that I made from scratch in flash. Its actually pretty damn cool! I just coded it so bbcode is allowed, but ive got a sligt problem. if sobody dosnt close a tag, then the tag stays active for the following messges.
example: CODE [/b][/u][/i][/url][/color] but then i relized, flash's html encoding is very propor, and all tags must be closed in the order that they were opened! CODE [b][u]text[/u][/b] << works [b][u]text[/b][/u] << dosn't work AND if sombody opens the same tag twice, the tag must be closed twice! CODE [b][b]text[/b][/b] << works [b][b]text[/b] << dosn't work I need a php script that can take a string, and add close tags to every line, in the same order they were opend. I was thinking of how to approach this, but i just can't come up with a script. Any ideas? Thanks! edit: put code in code tags This post has been edited by qwertyiscool: Jul 15 2006, 05:42 PM |
|
|
|
Jul 16 2006, 05:59 PM
Post
#2
|
|
|
Define:EVIL PROGRAMMER (ē'vəl prō'grăm'ər)- n. An organism that converts caffeine into evil software. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,074 Joined: 25-September 05 From: Los Angeles, California Member No.: 12,251 |
This post was offering hosting credits for helping me write the code, but i have recently found out that you must be hosted to transfer hosting credits. But i still really need this code or anything that can help me!
Any input would help as well!!! Thanks!! This post has been edited by qwertyiscool: Jul 18 2006, 06:01 AM |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 10:49 PM |