On 2011年06月21日 11:21, ◆送料無料◆ブランド激安市場 wrote:
【N級、 S級、AAA級 財布、バッグ!】【ブランド館】
日本最大級コピーブランド激安市場 ☆*.http://www.special-price.biz/ ☆*.
■主要取扱商品: バッグ、財布、腕時計、ベルト、ライタ!
≡≡≡
海外ブランド品安心ショッピング バッグや財布等がお買得!
【新作入荷】●●●【超人気質屋】◆最新作 ヴィトン 財布新品、新素材入荷
① ★GUCCI 2011年新作バッグ大量入荷超人気 ★
:28 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 【N級、 S級、AAA級 財布、バッグ!】【ブランド館】
・EURー葦・ぢ年06月21日 11:21, ◆送料無料◆ブランド激安市場 wrote:
【N級、 S級、AAA級 財布、バッグ!】【ブランド館】
日本最大級コピーブランド激安市場 ☆*.http://www.special-price.biz/ ☆*.
■主要取扱商品: バッグ、財布、腕時計、ベルト、ライタ!
≡≡≡
海外ブランド品安心
: Sharl.Jimh.Tsin [mailto:amoiz.sh...@gmail.com]
Sent: Monday, June 20, 2011 11:28 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 【N級、 S級、AAA級 財布、バッグ!】【ブランド館】
・EURー葦・ぢ年06月21日 11:21, ◆送料無料◆ブランド激安市場 wrote:
【N級、 S級、AAA級 財布、バッグ!】【ブランド館】
日本最大級コピーブランド激安市場 ☆*.http://www.special-price.biz
≡ ≡ ≡ ≡ ≡
≡ ≡ ≡ ≡ ≡ ≡ ≡ ≡ ≡ ≡ ≡
Richard L. Buskirk
-Original Message-
From: Sharl.Jimh.Tsin [mailto:amoiz.sh...@gmail.com]
Sent: Monday, June 20, 2011 11:28 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 【N級、 S級、AAA級 財布、バッグ!】【ブランド館】
・EURー葦・ぢ年06月21日 11:21, ◆送料無料◆ブランド激安市場 wrote:
【N級、 S級、AAA級 財布、バッグ!】【ブランド
If the recipient is gmail, then you need to use \r\n because Gmail is
following in the Windows way of ignoring standards... :-(
On Mon, February 11, 2008 6:10 am, Angelo Zanetti wrote:
Hi guys,
I am making email text based on some fields the user fills in and then
email
the admin the
as
formatted, but does the readabilty job.
Wolf
-Original Message-
From: Angelo Zanetti [EMAIL PROTECTED]
Sent: Monday, February 11, 2008 7:23 AM
To: 'Stut' [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: RE: [PHP] \n problems when creating an email
Looks like you're using Outlook
exactly as stut said, try using double /n's or convert the email to html.
whilst testing always view email source to verify what your creating.
Nath
Stut wrote:
Angelo Zanetti wrote:
I am making email text based on some fields the user fills in and then
email
the admin the details.
I am
Angelo Zanetti wrote:
I am making email text based on some fields the user fills in and then email
the admin the details.
I am having a problem where sometimes the \n (new line) works and sometimes
it just does nothing. Im not sure the cause but I cant seem to figure it
out.
Looks like you're
Hi guys,
I am making email text based on some fields the user fills in and then email
the admin the details.
I am having a problem where sometimes the \n (new line) works and sometimes
it just does nothing. Im not sure the cause but I cant seem to figure it
out.
Here is a segment of code:
On Feb 11, 2008 7:10 AM, Angelo Zanetti [EMAIL PROTECTED] wrote:
Hi guys,
I am making email text based on some fields the user fills in and then email
the admin the details.
I am having a problem where sometimes the \n (new line) works and sometimes
it just does nothing. Im not sure the
Looks like you're using Outlook. It has an annoying feature where it
helpfully removes extra line breaks. This would appear to be what's
happening here.
When it does this it usually displays a notice somewhere to say it's
done this and offers a way to undo it.
Thanks, dam I
R. Ragunathan wrote:
can we implement lock to a table using postgres with php.
if any of u all knows the solution do reply back.
You may also want to look at the following URL:
http://www.postgresql.org/docs/8.0/interactive/explicit-locking.html
--
PHP General Mailing List
R. Ragunathan wrote:
hi,
can we implement lock to a table using postgres with php.
if any of u all knows the solution do reply back.
http://www.catb.org/~esr/faqs/smart-questions.html
Pay close attention to the sections dealing with Before you ask, and
Use meaningful, specific subject
As Ireland's property developers scramble to snap up every last square
metre of prime Dublin real estate, a green oasis in the heart of this
booming capital is standing firm against the tide of change.
All this may seem highly irrelevent, but when you have a N/A subject,
then anything is in.
Rory Browne wrote:
As Ireland's property developers scramble to snap up every last square
metre of prime Dublin real estate, a green oasis in the heart of this
booming capital is standing firm against the tide of change.
fantastic Rory! lol
All this may seem highly irrelevent, but when you
hi,
can we implement postgres transactions with php.
if anyone knows the solution please reply back.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
can we implement postgres transactions with php.
if anyone knows the solution please reply back.
[/snip]
Have you read http://www.php.net/postgres ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi,
can we implement lock to a table using postgres with php.
if any of u all knows the solution do reply back.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
R. Ragunathan wrote:
can we implement lock to a table using postgres with php.
if any of u all knows the solution do reply back.
Please, for the second time, simply read the manual.
http://www.php.net/pgsql
It explains both the issues you have recently posted about very well. If
you have a
i have this sort of a log string:
error_log(\n.$date.:.$_SESSION['username'].:Logged in:normal login\n,
3, $LogPath.admin.log);
problem is when it writes the entry in a file the first one shows up fine
but when you get 2 or more in it then it either strings the lines together
(the second entry
[snip]
i have this sort of a log string:
error_log(\n.$date.:.$_SESSION['username'].:Logged in:normal
login\n,
3, $LogPath.admin.log);
problem is when it writes the entry in a file the first one shows up
fine
but when you get 2 or more in it then it either strings the lines
together
(the second
everything works now tnx
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: Andy B [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, April 09, 2004 10:45 AM
Subject: RE: [PHP] \n doesnt work in error_log and windows?
[snip]
i have this sort of a log string:
error_log(\n
\n isn't working properly.
Why do this line $new_topic = $post_0.'|'.$post_1.'|'.'$post_2\n'; writes to
the document
one|two|three\n
but not
one|two|three (and break)
whole code:
if ($a==new){
$post_0 = $_POST[one];
$post_1 = $_POST[two];
$post_2 = $_POST[three];
if ($post_1 !=){
if
On Sun, 2004-04-04 at 17:58, Labunski wrote:
\n isn't working properly.
Why do this line $new_topic = $post_0.'|'.$post_1.'|'.'$post_2\n'; writes to
the document
one|two|three\n
but not
one|two|three (and break)
Because it's in single quotes versus a double quotes.
Cheers,
Rob.
--
--- Labunski [EMAIL PROTECTED] wrote:
Why do this line $new_topic = $post_0.'|'.$post_1.'|'.'$post_2\n';
writes to
the document
one|two|three\n
Actually, that's not true. Assuming:
$post_0 = 'one';
$post_1 = 'two';
$post_2 = 'three';
The code you posted will store the following in
Chris Shiflett wrote:
--- Eugene Lee [EMAIL PROTECTED] wrote:
Warning: nl2br() is not safe because it emits br / tags which do
not always work on all browsers (especially browsers not explicitly
advertised to be XHTML-compliant).
Can you name a single browser that cannot properly render a br /
On Mon, 2003-11-10 at 20:21, Eugene Lee wrote:
On Mon, Nov 10, 2003 at 04:05:07PM -0800, Chris Shiflett wrote:
:
: --- Eugene Lee [EMAIL PROTECTED] wrote:
:
: Warning: nl2br() is not safe because it emits br / tags which do
: not always work on all browsers (especially browsers not
Brian V Bonini wrote:
So just change it
$string = nl2br($content-page_content);
$string = eregi_replace(br /, br, $string);
Why not directly
str_replace(array(\r\n,\r,\n), 'br', $content-page_content);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Tue, 2003-11-11 at 14:51, Marek Kilimajer wrote:
Brian V Bonini wrote:
So just change it
$string = nl2br($content-page_content);
$string = eregi_replace(br /, br, $string);
Why not directly
str_replace(array(\r\n,\r,\n), 'br', $content-page_content);
You say tomato I
is \n same as br
I found that \n does the same function as br for some users, but not for
me.
I know that \n creates a break in source and not in display.
Is it possible to make \n does the same function as br
Thanks Regards,
___
PHPLover
Göd döësn't pläy dícë.
-
[snip]
is \n same as br
I found that \n does the same function as br for some users, but not
for
me.
I know that \n creates a break in source and not in display.
Is it possible to make \n does the same function as br
[/snip]
http://us3.php.net/nl2br
--
PHP General Mailing List
\n is the code to write a new line, between double quotes. Actually it
translates to a 0D or 0A code. If there is a 0D or 0A in a text or file (or
normal text email) it works as a newline. If you look at the _source_ of
your HTML file you will see it too.
BR is the HTML code for new line.
--- PHPLover [EMAIL PROTECTED] wrote:
is \n same as br
This is not true.
I know that \n creates a break in source and not in display.
Is it possible to make \n does the same function as br
No, but you can convert your newlines to the HTML equivalent:
http://www.php.net/nl2br
Hope that
On Mon, Nov 10, 2003 at 06:57:54AM -0800, Chris Shiflett wrote:
:
: --- PHPLover [EMAIL PROTECTED] wrote:
:
: is \n same as br
:
: This is not true.
:
: I know that \n creates a break in source and not in display.
: Is it possible to make \n does the same function as br
:
: No, but you can
Eugene Lee mailto:[EMAIL PROTECTED]
on Monday, November 10, 2003 3:58 PM said:
Warning: nl2br() is not safe because it emits br / tags which do
not always work on all browsers (especially browsers not explicitly
advertised to be XHTML-compliant).
My original response (in my mind) was
--- Eugene Lee [EMAIL PROTECTED] wrote:
Warning: nl2br() is not safe because it emits br / tags which do
not always work on all browsers (especially browsers not explicitly
advertised to be XHTML-compliant).
Can you name a single browser that cannot properly render a br / tag?
Chris
=
My
Chris Shiflett wrote:
--- Eugene Lee [EMAIL PROTECTED] wrote:
Warning: nl2br() is not safe because it emits br / tags which do
not always work on all browsers (especially browsers not explicitly
advertised to be XHTML-compliant).
Can you name a single browser that cannot properly render a br /
Eugene Lee wrote:
On Mon, Nov 10, 2003 at 06:57:54AM -0800, Chris Shiflett wrote:
:
: --- PHPLover [EMAIL PROTECTED] wrote:
:
: is \n same as br
:
: This is not true.
:
: I know that \n creates a break in source and not in display.
: Is it possible to make \n does the same function as br
:
--- John Nichel [EMAIL PROTECTED] wrote:
The old Prodigy 'browser' from the early 90's? ;)
Is that a guess or an answer?
I don't see it here:
http://browsers.evolt.org/
That's the only place I know to find old browsers with which to test
things like this. If you have any other information,
Chris Shiflett wrote:
--- John Nichel [EMAIL PROTECTED] wrote:
The old Prodigy 'browser' from the early 90's? ;)
Is that a guess or an answer?
It was a joke. Maybe I'm just too old. *G*
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List
John Nichel mailto:[EMAIL PROTECTED]
on Monday, November 10, 2003 5:18 PM said:
It was a joke. Maybe I'm just too old. *G*
Or maybe you're just not funny. OOOH MOTED! :)
Why does it feel like Friday???
p.s. i got your joke and no offense, just teasing. please feel free to
make fun
On Mon, Nov 10, 2003 at 04:05:07PM -0800, Chris Shiflett wrote:
:
: --- Eugene Lee [EMAIL PROTECTED] wrote:
:
: Warning: nl2br() is not safe because it emits br / tags which do
: not always work on all browsers (especially browsers not explicitly
: advertised to be XHTML-compliant).
:
: Can
Chris W. Parker wrote:
John Nichel mailto:[EMAIL PROTECTED]
on Monday, November 10, 2003 5:18 PM said:
It was a joke. Maybe I'm just too old. *G*
Or maybe you're just not funny. OOOH MOTED! :)
Why does it feel like Friday???
p.s. i got your joke and no offense, just teasing. please
--- Eugene Lee [EMAIL PROTECTED] wrote:
Can you name a single browser that cannot properly render a br /
tag?
There were rendering problems discovered with one popular web forum
software called vBulletin.
That's not a browser.
Chris
=
My Blog
http://shiflett.org/
HTTP
On Mon, 2003-11-10 at 20:30, John Nichel wrote:
This could be why HBO hasn't been knocking on my door and offering me a
few million to do my stand-up routine.
This appears to be off-topic, and so to drive the point home in your own
self-righteous drivel:
John Nichel spewed one day:
--- Robert Cummings [EMAIL PROTECTED] wrote:
This appears to be off-topic, and so to drive the point home in
your own self-righteous drivel:
Robert, that is enough of this. Please take your pesonal differences
elsewhere.
Chris
=
My Blog
http://shiflett.org/
HTTP Developer's Handbook
On Mon, 2003-11-10 at 21:44, Chris Shiflett wrote:
--- Robert Cummings [EMAIL PROTECTED] wrote:
This appears to be off-topic, and so to drive the point home in
your own self-righteous drivel:
Robert, that is enough of this. Please take your pesonal differences
elsewhere.
I was merely
I'm trying to use this function to outpot the content of a file that I change
time to time so I'd like to see the added text into file to appear in the
browser window.
Could you help me? (stream_select doesn't work???)
?
$fh = fopen('debug.txt','r+');
stream_set_blocking($fh ,true);
Hey Peter--
If the file is always local and you're using a relatively recent version
of PHP, you can use file_get_contents instead:
http://ca.php.net/file_get_contents
Cheers,
Marco
--
php|architect -- The magazine for PHP professionals
Try us free at http://www.phparch.com
Searchable PHP
Guys,
These codes are copied from the manual:
*
echo (this is the simplest, an SGML processing instruction\n);
echo This spans
multiple lines. The newlines will be
output as well;
echo This spans\nmultiple lines. The
At 13:22 13-10-03, you wrote:
Guys,
These codes are copied from the manual:
*
echo (this is the simplest, an SGML processing instruction\n);
echo This spans
multiple lines. The newlines will be
output as well;
echo This
It DOES work, look at the source html code.
Wang Feng wrote:
Guys,
These codes are copied from the manual:
*
echo (this is the simplest, an SGML processing instruction\n);
echo This spans
multiple lines. The newlines will be
They do work but you will not see that in the rendered html page (in a
browser). Have a look at the source of the produced page and you will see
the linebreaks.
The page source shows:
htmlbody/body/html
I suppose
Hayes [EMAIL PROTECTED]
To: Wang Feng [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 9:29 PM
Subject: Re: [PHP] \n \t don't work!!!
At 13:22 13-10-03, you wrote:
Guys,
These codes are copied from the manual:
*
echo
Wang Feng wrote:
The page source shows:
htmlbody/body/html
The problem might be right here --+
(closing html tag)|
html |
headtitleHello World
On Mon, Oct 13, 2003 at 09:48:56PM +1000, Wang Feng wrote:
:
: Ok, Now I see what happen (maybe).
:
: So, the \n is not for the browser output, but for the *view source*? So,
: it's different from the echo br?
:
: If so, what's the deal to do that? --- Makes it look nice if the user view
: the
If you want it to work with \n, then you will need to use the pre/pre
tags. Otherwise you need to translate the \n's into br tags. \n is NOT
an html tag so when you print them to the browser, it adds lines to the
source, but as you might already know, a new line in the source of an html
page
]; [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 9:29 PM
Subject: Re: [PHP] \n \t don't work!!!
At 13:22 13-10-03, you wrote:
Guys,
These codes are copied from the manual:
*
echo (this is the simplest, an SGML processing instruction\n
Thank you all for pointing me to the *right* direction!!!
Now I really understand why and what I can do with the \n in php. :-)
cheers,
feng
- Original Message -
From: Eugene Lee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 10:58 PM
Subject: Re: [PHP] \n \t
To give tabs in html, you might want to try using nbsp; nbsp; nbsp;
instead of \t
Steve
At 06:57 AM 10/13/2003, you wrote:
Wang Feng wrote:
The page source shows:
htmlbody/body/html
The problem might be right here
[snip]
To give tabs in html, you might want to try using nbsp; nbsp; nbsp;
instead of \t
[/snip]
And one other thing I didn't see mentioned http://www.php.net/nl2br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Oct 13, 2003 at 08:10:39AM -0500, Jay Blanchard wrote:
:
: [snip]
: To give tabs in html, you might want to try using nbsp; nbsp; nbsp;
: instead of \t
: [/snip]
:
: And one other thing I didn't see mentioned http://www.php.net/nl2br
Note that nl2br() is XHTML compliant, which means it
--- Eugene Lee [EMAIL PROTECTED] wrote:
Note that nl2br() is XHTML compliant, which means it sends out
br / tags instead of br tags. This is a problem on
browsers that do poorly with mixed HTML and XHTML tag styles in the
same body content.
Which browsers does this refer to?
Chris
=
My
Hi there.
I got a question from someone why the following (from the manual) will not
bring the desired output:
?php
/* if I open the following txt file and in explorer*/
$text = The quick brown fox jumped over the lazy dog.;
$newtext = wordwrap($text, 20);
echo $newtext\n;
/*my output is
Thomas Hochstetter wrote:
Hi there.
I got a question from someone why the following (from the manual) will not
bring the desired output:
?php
/* if I open the following txt file and in explorer*/
$text = The quick brown fox jumped over the lazy dog.;
$newtext = wordwrap($text, 20);
echo
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
Thomas Hochstetter wrote:
$text = The quick brown fox jumped over the lazy dog.;
$newtext = wordwrap($text, 20);
echo $newtext\n;
[...]
HTML does not render newlines. You need to use br /. View the source
of this code in your browser
I must suggest to just add like
header(Content-Type: text/plain); // Don't use HTML
To the top of examples like that...
--
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
Curt Zirzow [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
* Thus wrote John W. Holmes ([EMAIL
Still new to PHP - any assistance would be very much appreciated...
I am using a php script to send info to a local file for mail filtering.
Whe the php script sends the following:
fputs($nf, MAILDIR=$MAILDIR # Default mail directory\n);
the output actually has a chr 13, 10
ProcMail interprest
At 2003-05-29 11:38 -0700, Michael Isaacs wrote:
Still new to PHP - any assistance would be very much appreciated...
I am using a php script to send info to a local file for mail filtering.
Whe the php script sends the following:
fputs($nf, MAILDIR=$MAILDIR # Default mail directory\n);
the
Nothing fancy. Can't get it to echo ¶
textarea cols=30 rows=5 name=testtextareamary
had
a
little
lamb/textarea
if ($testtextarea)
{
$inputresult = str_replace(\n, '¶'.\n, $testtextarea);
echo textarea cols=30 rows=5 name=testtextarea$inputresult/textarea;
}
--
PHP General Mailing List
I have also tried:
$inputresult = str_replace('\n', '¶\n', $testtextarea);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi John,
Nothing fancy. Can't get it to echo ¶
Is that a pilcrow sign? If so, have you tried para; instead, like this:
$inputresult = str_replace('\n', 'para;\n', $testtextarea);
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jon, Anyone,
Paragraph sign actually. I'm filterting some data for MySQL. I need a field delimiter.
I don't want to use \n. Contents of each field are on a signel line of text.
I have come up with this, unless someone can suggest better:
if ($testtextarea)
{
$inputresult = str_replace(\r, ,
in enclosed by ' is exact, unlike .
Niklas
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]
Sent: 4. maaliskuuta 2003 11:06
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] \n
Hi John,
Nothing fancy. Can't get it to echo ¶
Is that a pilcrow sign? If so, have you tried para
Hi people,
i've been searching for a while in google and vivisimo for docs that treats
paging techniques for php and mysql. And so far i seek nothing. I always get
stuck with empty documents (if you know what I mean).
Can U give me a hand with this. If you already have a doc of this nature, or
Just pass the current position from one page to the next and use a
LIMIT start,num clause.
-Rasmus
On Wed, 2 Oct 2002, Francisco Vaucher wrote:
Hi people,
i've been searching for a while in google and vivisimo for docs that treats
paging techniques for php and mysql. And so far i seek
try this function
nltobr()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 07/09/02 1:51 AM, N. Pari Purna Chand ([EMAIL PROTECTED])
wrote:
$newstr = ereg_replace (\n, BR, $newstr);
Instead, I think you'd have to escape the slash: \\n... but it's
irrelevant, because there's a function that does this for you:
$newstr = nl2br($newstr);
Also, you should try to use
I have a small problem in converting a plain text to html.
say
$text = PHP
Rocks;
Observe the '\n',
When I call the converttohtml function which I wrote ( see bottom )
$html = converttohtml($plaintext);
The $html I'm getting is
PHPBR
Rocks;
Observe the '\n' still exists,
What is the way to
Chandu, et al --
...and then N. Pari Purna Chand said...
%
% I have a small problem in converting a plain text to html.
Son of a gun... Maybe it's world consciousness working on this :-)
I've just posted a similar question. Be sure to watch both threads just
in case.
HTH HAND
:-D
--
At 23:51 09/06/2002, you wrote:
I have a small problem in converting a plain text to html.
snip
$newstr = ereg_replace (\n, BR, $newstr);
try
$newstr = ereg_replace(\n\r|\n|\r, BR, $newstr);
notice it looks for all types of line feeds
-jacob
--
PHP General Mailing List
At 23:51 09/06/2002, you wrote:
I have a small problem in converting a plain text to html.
snip
$newstr = ereg_replace (\n, BR, $newstr);
try
$newstr = ereg_replace(\n\r|\n|\r, BR, $newstr);
notice it looks for all types of line feeds
-jacob
--
PHP General Mailing List
I cannot get a breakline or line appart with \n with printf or print,
I've to use always BR.
\n shows only a space.
I've installed latest stable version of php and apache
bath under Linux and W2k.
Anybody knows something about?
Thanks in advance.
--
PHP General Mailing List
I cannot get a breakline or line appart with \n with printf or print,
I've to use always BR.
\n shows only a space.
HTML does not break lines on newlines in the source code. That's
why BR is there.
If you look at the source code, you'll see there is a newline in
the source. Remember that
I am just learning PHP. I have it installed on my Win 2000 IIS to practice,
and after I save PHP files in my wwwroot folder, I go ahead and access my
practice pages through IE via my full (universal) server address. However,
the \n code (to start a new line) never works. Any ideas?
Thanks!
--
Browsers don't parse \n as a new line, try using br which will make a new
line
Andrew
- Original Message -
From: alpherjo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 16, 2001 9:51 PM
Subject: [PHP] \n not working
I am just learning PHP. I have it installed on my
Sorry to bother you with what probably seems like a useless question but why
is this not skipping a line?
echo $team \n ;
Its in a while loop and the output is:
Bears Giants Jets etc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
In html?
If it is then you should be using BR. An \n will just put a newline in
your source code.
Nick.
On Fri, 24 Aug 2001, Jeremy Morano wrote:
Sorry to bother you with what probably seems like a useless question but why
is this not skipping a line?
echo $team \n ;
Its in
you do know you need to put br to make it go to a new line :D one of the
stupidest mistakes, but done alot :D
- Original Message -
From: Jeremy Morano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 25, 2001 1:18 AM
Subject: [PHP] \n
Sorry to bother you with what
are you on windows or *nix? paste more code
On Fri, 24 Aug 2001, Jeremy Morano wrote:
Sorry to bother you with what probably seems like a useless question but why
is this not skipping a line?
echo $team \n ;
Its in a while loop and the output is:
Bears Giants Jets etc
--
On 24 Aug 01, at 11:18, Jeremy Morano wrote:
echo $team \n ;
echo $teambr\n;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
So sprach »Jeremy Morano« am 2001-08-24 um 11:18:10 -0400 :
echo $team \n ;
HTML?
echo nl2br( $team \n );
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de -
When I write to a file with PHP, I get double line spacing when read on
a PC. Is there a way to handle this so that a text file can be created
by PHP and be read correctly by Linux or a WIN based computer?
In my PHP code, I have been using \r\n to duplicate the 0Dh 0Ah that a
WIN based
Just use \n. Both OS's understand this to be a linefeed and will behave
accordingly.
With the exception of a class that performs POP3 queries, I've never had
to use \r\n in my code.
Regards,
Toby Butzon
Todd Cary wrote:
When I write to a file with PHP, I get double line spacing when read
94 matches
Mail list logo