Newline In A "URL" ?
Hi everybody.
I have to construct a string with "newlines" in it.
I have a Flash-form in where all the fields make up the mail that has to be sent through the users mailclient (using customscripts or other cgis is not possible) - so I tried this:
// this is the subject betreff = booking;
// build tempstring nachricht = "Name: " add bname add <br> add "Adress: " add address; request = "mailto:hartmann@nightlights.de?subject=" add betreff add "&body=" add nachricht; getURL (request); betreff = ""; nachricht = "";
My problem is that I dont know how to get the <br> Tag after the second add to work in this ( didn't work either). I really wnat a newline, so the mail in the users client is formated like this:
Name: Philipp Adress: Somestreet Rest: and so on...
Hope you understand what I mean...
Thanks for any help on this! Philipp
Ultrashock Forums > Flash > ActionScript
Posted on: 2001-08-17
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Newline
I have a problem...
i have written some actionscipt to be activated upon release of a submit button on a form, that launches thre user's e-mail program, and puts in the variables they have entered.
The only problem I'm having is that when i put in add newline, it doesn't, but adds a sapce (found by %20 in the address bar of the new window) (you'll c)
Can anybody help me?
Here is the script btw:
on (release) {
getURL (mailto add name add "?subject=" add subject add "&body=" add "Name: " add Naam add newline add "Surname: " add Achternaam add newline add "Adress: " add Adres add newline add "Zipcode: " add Postcode add newline add "City: " add Woonplaats add newline add "Tel: " add Telefoon add newline add "Fax: " add Fax add newline add "E-mail: " add Emailadres add newline add newline add "Remarks:" add Newline add Opmerking add Newline add Newline add "Options:" add Newline add Options add Newline add Newline add "Mailtype:" add Mailtype);
}
on (release) {
gotoAndPlay ("done");
}
Newline
hello,
I am parsing data from a Flash MX form into a mailto tag. I have subject and body where the body is made up of several fields. I want each field to start on a new line but cannot get it to do so in the email (Eudora), ie,
GetURL("mailto:" add email add "?subject=Restaurant Booking&body=Restaurant: " add rest_name
add newline add "No. of People: " add number
add newline add "Booking Date: " add date
add newline add "Booking Time: " add time
add newline add "Booking Name: " add name
add newline add "Email address: " add email
add newline add "Ph number: " add phone);
I have tried
and
also to no avail.
It formats well when run using Ctrl-Enter within Flash but doesn't work when it's published and run through a browser.
Any suggestions? Is there abetter way of doing the same thing?
cheers,
Andy
Newline
hello,
I am parsing data from a Flash MX form into a mailto tag. I have subject and body where the body is made up of several fields. I want each field to start on a new line but cannot get it to do so in the email (Eudora), ie,
GetURL("mailto:" add email add "?subject=Restaurant Booking&body=Restaurant: " add rest_name
add newline add "No. of People: " add number
add newline add "Booking Date: " add date
add newline add "Booking Time: " add time
add newline add "Booking Name: " add name
add newline add "Email address: " add email
add newline add "Ph number: " add phone);
I have tried
and
also to no avail.
It formats well when run using Ctrl-Enter within Flash but doesn't work when it's published and run through a browser.
Any suggestions? Is there abetter way of doing the same thing?
cheers,
Andy
Newline
I am using actionscript to open someones mail from which they would send me info retrieved from a form that they have just filled in. It all works good apart from the fact that all the info is jumbled together ie I can't get each piece of information to be on a separate line using 'newline'. The code is below...any ideas?
on (press) {
getURL(mailto add name add "?subject=" add subject add "&body=" add "Name: " add name add newline add "Surname: " add surname add newline add "Address: " add Address add newline add "City: " add city add newline add "Tel: " add Telephone add newline add "Fax: " add Fax add newline add "E-mail: " add Email);
}
Newline...?
Ok...does the command newline actually work in MX? really, cause It seems ignore completelly its existence
what happens is that the file is supposed to generate a text that adds the contents of several input textfields
When I put + newline + between each variable name, it does send the text in the fields, but ignores newline
just to make sure, I even added + newline inside the textfield variable, and still...
to illustrate better, here it goes part of it
code:
incluir_excluir1 = "Que assuntos podem ser incluídos e/ou excluídos neste Curso? "+incluir_excluir+newline;
sugestoes1 = "Apresente suas sugestões e/ou comentários para o aperfeiçoamento do Curso de Direção Defensiva: "+sugestoes;
body =incluir_excluir1+newline+sugestoes1;
Am I using newline wrong, is there another way to do it or is my computer really adquiring Artificial Intelligence and decided to try to make me insane as part of its evil plot to control the Earth?
Newline
how do i create a newline when i post an E-mail in flash?
I've got this:
getURL("mailto:adress?subject=" + company + "&body=" + name + newline + surname + newline + function + ... );
Newline
I usually use HTML tags to format external text but since I`m using XML this time I can`t use tags so I wanted to format text using "
"
to create breaks! But
is shown within the text and no break (newline) is created! What is the catch?
Newline
hello. im using flash effects downloaded from fk. i want to know how can i break a line of text, without using newline. i tried
but didnt work.
tnxs
Newline?
Alright i have a textbox that is sort of like a console that displays stuff that happened. like if i press "cool" then it plays a thing called cool and at the end of the movie theres a keyframe with
Code:
_level0.instance4.text += "fip=false";
i need it it so everytime the action plays, it adds a newline to text box with whatever it is..
so instead of in the textbox
Code:
"fip=falsefip=truebuttonhasbeenpress"
it will be
Code:
"fip=false
fip=true
buttonhasbeenpress"
so instead of
Add 'newline', '
' With Php
I need to append a 'newline' onto the end of a string sent to flash. I send data from flash to the php using post, then I append '
' onto the end of the data sent from flash, then I send it to a txt file. The contents of the file are then read into another flash doc, but I want to add a new line between the data. However my method does not work, because in flash it just displays the '
' as part of the string. Any thoughts as to how to fix this? THANKS
HERE IS MY PHP FILE:
PHP Code:
<?php
$sendText = $_POST['sendText'];
$sText = $sendText . '
';
$open = fopen('text.txt', 'a');
$write = fwrite($open, $sText);
if($write) {
echo "&verify=success&";
}
else {
echo "&verify=fail&";
}
?>
Xml Newline
Hi
I have a small xml-file that is inserted in some flash-site. Is it possible to divide that text over severeal lines with some kind of newline-command in the xml.
thanx in advance
scarlac
Newline Problems
basically i have chat thing.
in the fisrt scene i ask for the users name (variable is name)
then in the next scene i have the area to write a comment or what not. (variable is comment)
then i have an add button. after it is click it adds the text to a large window with the other comments in them (varible is done) this is my script
done = done + newline + "[" + name + comment + "]"
what i want to happen in this
[name comment]
but instead it does
[name
comment]
it does this no matter where i place the newline command
can anyone tell me what i am doing wrong
Building Txt With Newline
i want in a text field to write to each line something else!
is it possible to access eac line say with :
myTextField.line[1]="bla blo";
if not what else can i do?is there a possibility to access line and letters in each line?
is there a way to build a string that when i i replace a space with "newline" or something like that it will show :
"abc def"
and after it
"abc
def"
is this possible?then how?
thanks
Peleg
+newline + In An External TXT
Hi, I am loading in an external txt file using _root.loadVariables("text/content_english.txt");
is there any way I can put the line brake in the string in the text file, for example;
&Compliant_body_txt= Hello +newline + world
Thanks in advance!
Kaan.
Newline In HTML
Have a niggly problem can ayone help please
I reading an external html text file and displaying the
formatted text in a dynamically created text field (createTextField).
My problem is that carriage returns are not working.
below is an example:
This works fine-used on a dynamic text field on stage with html option on.
Code:
TEST.htmlText="<p><b>line one</b>
</p><p>line two</p>"
This does not and I cant figure why...
Code:
this.createTextField("my_txt", 1, 100, 100, 300, 100);
my_txt.html = true;
my_txt.htmlText="<p><b>line one</b>
</p><p>line two</p>"
I know that I could put in "/n"
Any help Greatly appreciated
Newline Command Ignored
I have the following actionscript;
_root.getURL(mailto add "?subject=" add subject add "&body=" add "Name: " add Name add newline add "E-mail: " add ViewerEmail add newline add newline add "Comments:" add newline add Comments add newline add newline);
It produces an email from data in the flash form. When I export the swf the newline operator works fine, but when I embed the swf in the main swf the newline characters are ignored and the data all comes out on one line. Does anyone know why this is and what the fix might be?
Cheers
mrpaully
HtmlText And Newline
Hi!
This is my first Post in this Forum! So "Hi" to you all!!!
Also please excuse my english - I'm not an native-speaker!
The problem that I have, I have been working on already for several hours, but I couldn't find a good solution...
I have an input-TextField, with htmText = true.
In this input-TextField I want to show a symbol, that appears everytime I klick the ENTER-Key.
I had already an solution, the problem with that solution was, that the text-formats (color, link, etc.) that were saved in the html-text were overwritten....
My solution looked like this:
PHP Code:
private function onTextChange(keyCode:Number){
var aktchar = ref.tf.text.substr(i, 1);
if (Key.getCode() == 13) {
aktchar = ref.tf.text.substr(i-1, 1);
var prevchar = ref.tf.text.substr(i-2, 1);
if ((aktchar != "*") && (prevchar != "/")) {
ref.tf.text = ref.tf.text.substr(0, i)+"/*"+ref.tf.text.substr(i);
Selection.setSelection(i+2,i+2);
}
ref.tf.text.replaceSel("/*");
}
}
Has anyone an idea for an "Show-Newline"-Funktion without overwriting textformats?
I'm really looking foreward to the answers!
Greetings!
Kerstin
What Happened To Newline?
hi,
what happened to the constant newline in as 3.0? I'm getting the undefined property error.
thanks,
Jerryj.
Newline Character?
Using the String.substr() method, I'm taking apart a string character by character. How do I determine when a line break (newline) occurs?
if (myString.substr(4,1) == newline){ // <-- right idea, wrong syntax
Thanks for any help.
XML Newline Issue
I am having this problem that has left me absolutely baffled. I am importing some XML and saving it to a string. This works fine. The problem is, I can't get rid of any of the line breaks. I've done a str.replace() for 
 
 

s, pretty much anything that could be interpreted as a line break, and nothing works. I still get line breaks when I put the text into a textField or Alert it in Flex. Any help would be appreciated.
Split A String At Each Newline
I have a text file which I import into a variable called text.
This text file is 5KB or 107 lines, so if I use:
text = text.split('
');
I should get a text array of 107 : text[0]...text[106] .
Now, my problem is that it works fine for small files (like 20 lines), but any bigger files, and you'll get the "A script in this movie is causing Flash Player to run slowly..." and basically you have to abort the whole thing.
Is it unreasonable to expect Flash to handle 100+ of text lines to look for
? Or am I doing something wrong ? Any better ways of making an array containing each lines of text ?
Thanks
Easy One 'newline' Driving Me Mad
Hi there,
I'm having a little problem that's getting me stuck. Apparently it should be easy but I can't get it to work.
This is the code I'm using for a button that should send an e-mail:
on (release) {
if (name eq "" or message eq "" or from eq "" or phone eq "") {
stop ();
} else {
bodyname = "Name: " add name;
bodyphone = "Phone: " add phone;
bodymail = "e-mail: " add from;
subject = name+" might be interested in joining BaCa";
getURL (mailto add "?subject=" add subject add "&body=" add newline add bodyname add newline add bodyphone add newline add bodymail add newline add "Message:" add newline add message);
gotoAndStop (5);
}
}
Variables name, phone, from and message are defined in input textfields.
variable mailto is defined as follows:
nameB = "BaCa Architects";
email = "josepballestero@coac.net";
mailto = "mailto:" add nameB add "<" add email add ">";
Everything works fine but the newline option. No matter how I try the body in the mail appears without any line in between the different variables...
Could you please tell me what am I doing wrong?
Apparently the code has no mistakes, could it be Microsoft's Outlook 6 that I'm using the problem?
Is There A Newline /n Character In Actionscript
Hello please help.
Can someone tell me if there is a newline character in Actionscript to use in a dynamic text field. I've tried /n but it doesn't seem to work.
Also, is it possible to write to text files through actionscript?
Any help would be greatly appreciated.
Cheers,
Adam.
Line Break (+ Newline)
Hi, I'm doing an email form in flash which uses mailto to send the fields to an email address using the viewers email client.
I'm using + newline to create line breaks between fields ,
so that when the information inputed into the form fields is seen on the email window, the fields are separated by a line break.
It all works fine when the submit button is pressed from the standalone flash player and It works fine on the Netscape/communicator front .,but when the flash movie is within Explorer and the email client is outlook express, the fields appear with no line break between them.
Any clues greatly appreciated.
Cheers.
Textfield Without Newline Breaks
this is my code:
Code:
var r = Array(String);
r[1]= '<font color="#ff0000">haha</font>';
r[2]= '<font color="#0000ff">hihi</font>';
for (i=1;i<3;i++) { textfield.htmltext += r[i]; };
when i start my application i can see this:
Code:
haha
hihi
but i want this text without newline break. like this:
Code:
haha hihi
Split String On Newline
I want to split a string on the newline since XMLsocket send(), which i am using, doesn't like newlines.
arr = new Array();
arr = box_text.split(chr(14));
//doesn't work, places the string into arr[0]
arr = box_text.split("
");
// doesn't work either, also places the string into arr[0]
Anyone have any idea of stuff that would work?
Replacing Newline With Space
i'm trying to replace all the carriage returns with spaces, from an input text box like this:
Code:
myText.split(newline).join(" ");
that doesn't work, i've also tried to use "
" and "
" instead of newline, but neither work. it just leaves it the way it is
p.s. using flash 8 pro
Newline Problem In SetClipboard
s='red'+newline+'blue';
s='red'+'
'+'blue';
s='red'+Chr(13)+'blue';
System.setClipboard(s);
eval('s').text=s;
System.setClipboard(eval('s').text);
even tried some Selection. options etc.
but...
All paste fine into MS WordPad; none show newline in MS Edit.
Anyone know why? + How to?
TextArea To String With Newline
I have a TextArea full with text, click in a button and i tranfer to a String...
There is a way to transfer to the string with the NEWLINEs that are in the TextArea without using HTML properties?
tnks in advance...
sorry by the bad english
Insert Newline Into Mailto?
Hi all:
I using AS3 to create a mailto: link from within an swf.
I have this code working:
mailto_mc.addEventListener(MouseEvent.CLICK, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("mailto:some_email@yahoo.com?subject=Check out this new video!&body=Some body text"));
}
Anyone know of a way to insert newlines into the message and have them passed correctly to the email client?
Thanks.
Input Text Newline
Hi,
Does anyone know how to allow the user to start a new line in input text.
It works in one of the fla files below but not the other, I have no idea why.
thanks in advance.
ash
How To Move To Newline In Movieclip?
Hi,
When i click enter from keyboard,cursor should move to new line for writing text in movieclip..
how to do this???????????
Plz help .....................
Newline On Email Form
I am trying to create a form that the user fills out and sends data via email to my address.
It isnt going to use PHP etc and I am having trouble inserting a newline in outlook express.
the flash looks like this:
getURL (mailto add name add "?subject=" add subject add "&body=" add "Name: " add name1 add newline add "Company: " add comp1 add newline add "Position: " add pos1 add newline add "Full Address: " add address1 add newline add "E-mail: " add Email1 add newline add "Remarks:" add newline add remarks1 add newline add "Information On:" add newline add Options);
when the email is posted it looks like this:
Name: John Smith Company:Ultrashock Position:moderator...... and so on.
what I want is:
Name:John Smith
Company:Ultrashock
Position:Moderator
Pleeaaase help!
How To Creating Newline Scrolling Text
hello all
can anyone help me out please..
I have problem to find out how to creating newline in scrolling text.. I know how to create scrolling text for long text.. but I have no ideal how to create the newline so my text will easy to read...
I try macromedia support didnot really understand,
have problme to find out , how to set up variable and value..I have done some file,, is someone can either explain to me ( please think you explain to 3 years ols child have no idea how to use flash) or use my file to set up for me, then I will find out how to do it..
please help
thank you
Gary
Mailto & Newline Command In Outlook 6
I have a mailto command which works on the mac and Outlook 2000 on the PC. However on Outlook 6 the newline command doesn't work. Does any one have a clue why?
Here is the code I am using:
"mailto:joanne@mindkey.co.za" add "?subject=" add "Query from e-mercial" add "&body=" add text00 add newline add newline add text01 add newline add newline add text02 add newline add newline add text03 add newline add newline add newline add text04 add newline add newline add text05
Txt File Vars....newline To Break?
have dynamic txt box called tbox
want to load var 'text' from the txt file into it...
replacing all
with <br>
help?
so far...dont work....
loadVariablesNum("info.txt", 0);
String.prototype.replace = function(find, replace) {
return this.split(find).join(replace);
};
tbox = text.replace("
", "<br>");
Parsing String To Add Newline As Needed
ok. me not so good with the actionscript. I tend to get my languages confused.
I've got an XML nodevalue that needs to be put in a label component. Its working great until the text is longer than 58 chars. So I'm trying to write a little scipt to parse the string and add "newlines" as needed.
The script should check if the string is longer than 58 chars, if not just put the string in the labelcontrol.text. It does this great.
If the string is longer than 58 chars it should start looking for a space character at the 58th character and look backwards one character until it finds a space. Then it should slice the front half of the string off and put it in a new string variable. If the remaining string is more than 58 chars, it should repeat this process to find a break between lines 2 and 3. Recurssion stops there as there isn't enough room for more than 3 lines. <aside>Would a scroll box have been a better component choice? <end aside>
script so far.
//take care of linefeeds for stepDescription.text field
rawText = newSlideNode.firstChild.nodeValue;
rawTextLength = rawText.length;
breakpoint = 58;
if (rawTextLength > breakpoint)
{
while(charat(breakpoint) != " "){
breakpoint--;
}
substring1 = rawText.slice(0,breakpoint);
substring2 = rawText.slice(breakpoint++);
stepDescription.text = substring1 + newline + substring2;
}
else {
stepDescription.text = rawText;
}
Flash hangs if the string is longer than 58 chars. Does anyone see something obvious or not so obvious?
Thanks
bj
Detect Newline In Text Field
hey ..
i have a btn + a input txtField
when you put txt in the input txtField and hit login itdisplays your txt in another txtField .. all works great . then when you hit logout it clears out your txt in the field ..
here is what i am trying to do .. when you want to put in some more text and make a new line in the display txtField . how do you go about adding a new line .
here is what i have thus far..
thanks for the help
Code:
logIn_btn.onRelease = function() {
_root.users_txt.text = _root.logIn_txt.text;
_root.logIn_txt.text = "";
//if(_root.users_txt.text "?"){
//make a new line in the users_txt.text textField
};
logOut_btn.onRelease = function() {
_root.users_txt.text = "";
};
Small LoadVars Newline Problem
Hi all,
Thanks in advance for any replies
I'm having a problem with my flash piece that grabs some variables from a text file concerning the newline (
) character for display out to a text box.
The text gets loaded and parsed by a series of methods I made and are seperated by return characters. I split the string by the return char and then make the variables element by element. I check to see if i am making an array by searching the particular string I split by using the | char. That all works fine and dandy but this is what i end up trying to parse out...
Code:
_root.dunnoCommand=["You want me to do WHAT?
",
"My, my, don't we have an overactive imagination.
",
"Huh?
",
"Could you say that again for me please.
",
"Damnit Jim, i'm a computer, not a greek epic!
",
"Ahnold says: Thanks for the tip.
",
"Wha?
",
"Try that again, this time in english.
",
"Dah! me computer, no understand you peoples!
",
"Need more Input!
",
"Does not compute!
",
...]
that is what it should be in flash, in the text file it looks the same only it is one big line.
The problem here is when I run it through for some reason it ends up tossing in an extra so that it makes \n. I know it isn't my method because I use the debugger and i see the string before it gets parsed and it inserts the extra escape...
Questions, comments, requests for clarification are all welcome
Thanks
Gizmo
Loading XML - Newline Tags Not Working
I am loading an XML file into my Flash MX movie which in turn loads a few text boxes with my information.
I need a few carriage returns or new lines added into my text, but am not able to get it to work properly...
I've put
,
, and newline into my file and instead of creating a newline it just puts the
or
or newline in with the rest of my text.
I've looked at a lot of posts and haven't found the answer and i'm sure there is one.
Thanks!
Can I Restrict Newline When Use Type Enter
hello everyone
i want to restrict newline when use type enter in instanceof v2 textarea component.
this is my way,but it's ugly
ActionScript Code:
lis = {};
lis.change = function (evtObj)
{
if (Key.isDown (13))
{
var t = evtObj.target;
t.text = t.text.substr (0, t.text.length - 1);
}
};
myTxt.addEventListener ("change", lis);
i hope a good solution...
Newline Characters In Datagrid Fields
Hello,
I'm trying to display some text in a datagrid field w/ newline characters and nothing seems to respond.
I've tried all of these:
1. code_list += split_code_val[1] + newline;
2. code_list += split_code_val[1] + "
";
3. code_list += split_code_val[1] + "<br>";
4. code_list += split_code_val[1] + "
";
Any ideas what I can do?
Thanks,
Clem C
[AS] Restric Newline Input Text
I have a large, multiline input text box that I want to restrict the use of enter to create a new line, meaning the only thing that should force a new line is wordwrapping. Is there a way to do this? Thanks in advance, it should be pretty straightforward no or yes and simple explain
Textfield Of Single Line Can Newline
hello everybody
i have a input textfield that is set single line, it means the textfield cannt newline when i press "ENTER" key.
well..if i pressed the "CTRL" key at the same time, the textfield can newline in IE browser, but firefox can not.
why? have any solution?
thanks
Newline In Body Text Outlook Email
Hi,
I work with Flash 4 and I want to link an email adres including subject en text in the body field.
For example, I've filled out the URL form like this.
mailto:info@adayswork.nl?subject=hello&body=How are you. I am ok.
When you click on the button, Outlook opens and everything seems te work. But who knows how I can put an ENTER between "How are you" and "I am ok"
I think it's something in the expression editor, but when I put an Enter between those 2 lines it still doesn't work.
When I hit the New Line button in the expression field it seems to work but the words New Line won't dissappear in the Outlook window. Realy strange.
Hope you can help me out.
Maarten
Newline In Body Text Outlook Email
Hi,
I work with Flash 4 and I want to link an email adres including subject en text in the body field.
For example, I've filled out the URL form like this.
mailto:info@adayswork.nl?subject=hello&body=How are you. I am ok.
When you click on the button, Outlook opens and everything seems te work. But who knows how I can put an ENTER between "How are you" and "I am ok"
I think it's something in the expression editor, but when I put an Enter between those 2 lines it still doesn't work.
When I hit the New Line button in the expression field it seems to work but the words New Line won't dissappear in the Outlook window. Realy strange.
Hope you can help me out.
Maarten
Newline In Body Text Outlook Email
Hi,
I work with Flash 4 and I want to link an email adres including subject en text in the body field.
For example, I've filled out the URL form like this.
mailto:info@adayswork.nl?subject=hello&body=How are you. I am ok.
When you click on the button, Outlook opens and everything seems te work. But who knows how I can put an ENTER between "How are you" and "I am ok"
I think it's something in the expression editor, but when I put an Enter between those 2 lines it still doesn't work.
When I hit the New Line button in the expression field it seems to work but the words New Line won't dissappear in the Outlook window. Realy strange.
Hope you can help me out.
Maarten
How To Detect When A Newline Is Created In An Input Textfield?
How to detect a newline when a user is typing into an input textfield?
Hi guys
I've got a movieclip which holds a number of input textfields
When a user is writing into one of these textfields, the textfield will expand or contract depending upon how much text is being written.
My problem is, I want to detect when the textfield in focus is getting larger or smaller so I can re-position all the subsequent input boxes beneath it.
Can anyone point me in the right direction on how to do this?
I was thinking, trying to detect when a new line is created in the textbox, but i'm not too sure, or know how to do that....
Many thanks
Newline Character Ignored In HtmlText For Flash Player 6?
Is the newline character "
" ignored in Flash Player 6 when it is included in an html text box? I'm testing backwards compatibility for my completed site with Flash Player 6 and none of the newline characters or tab characters are working if the text box has the html property set to true. All of the text boxes work fine in Flash Player 8.
Is there a different character I need to use? Or is it just not supported for Flash Player 6?
Newline Are Skipped When Sending Text From Flash To PHP
I have a Flash web form that has a text field on it (multiple lines). I tried to enter some lines of text but unfortunately the text did not include any newline when it was sent to my PHP script. I used the escape function but that didn't work either. I'm passing the text to my PHP script using loadvariables. I'm displaying the text using <pre> tags so it should display correctly if the newlines are sent. I tried the PHP function nl2br but nothing changed :(
Please help.
|