again... have you tried chr(13)???
On Tue, Apr 8, 2008 at 2:28 AM, Bogus Bill <[EMAIL PROTECTED]> wrote:
>
> Just to clarify, I'm trying to imbed a linefeed in the message on the mobile
> phone.
>
> I've also tried to hard-code a newline in a test service, using the "text"
> variable, but apparently don't know how to do that either...something like
> text = "Line 1\nLine 2"
>
>
> Arne K. Haaje wrote:
> >
> >
> > In the response, just use the linefeed symbol \n
> >
> > Like when using PHP;
> >
> > echo "Text on line 1\nText on line 2";
> >
> > This would produce a message with two lines :)
> >
> >
>
> This did not work for me. I am running 1.4.1, and am using PHP on my
> website. I want to give a list of scores, each separated by a linefeed.
> Here is a code snippet:
>
> while($row = mysql_fetch_array($result, MYSQL_ASSOC))
> {
> echo "{$row['visitor']} &nbsp;" .
> "{$row['visitor_score']} &nbsp;" .
> "{$row['home']} &nbsp;" .
> "{$row['home_score']} &nbsp;" .
> "{$row['quarter']}" .
> "\n";
> }
>
> The lines still run together on the mobile phone.
>
> Thanks for your help.
>
> Bill Rigdon
>
>
>
> --
> View this message in context:
> http://www.nabble.com/How-do-I-display-linefeeds-in-message-%28PHP%29--tp16540472p16547703.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
>
>
>
--
Juan Nin
3Cinteractive / Mobilizing Great Brands
http://www.3cinteractive.com