Re: [PHP] Big difference?

2001-07-26 Thread David Robley

On Fri, 27 Jul 2001 09:28, Kyle Smith wrote:
> how do i make it check if it was successfully printed?
>
>
> -legokiller666-
> http://www.StupeedStudios.f2s.com
> New address new site
>
> ICQ: 115852509
> MSN: [EMAIL PROTECTED]
> AIM: legokiller666
>
>
> - Original Message -
> From: "Schill, Johannes" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 25, 2001 2:28 PM
> Subject: Re: [PHP] Big difference?
>
> > Hello Kyle,
> >
> > The difference between echo and print is that print returns a boolean
>
> value,
>
> > so you can check if "blah blah" was successfully printed.
> >
> > more info about this:
> > www.php.net/print
> > www.php.net/echo
> >
> > Best regards,
> > Johannes Schill
> >
> > ----- Original Message -
> > From: "Kyle Smith" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, July 26, 2001 7:15 AM
> > Subject: [PHP] Big difference?
> >
> >
> > What is the difference between using
> >  > print "blah blah"
> > ?>
> >
> > and
> >  > echo "blah blah"
> > ?>

Check the return value from the function?

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   I hit the CTRL key but I'm still not in control!

-- 
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]




Re: [PHP] Big difference?

2001-07-26 Thread Kyle Smith

how do i make it check if it was successfully printed?


-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666


- Original Message -
From: "Schill, Johannes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 2:28 PM
Subject: Re: [PHP] Big difference?


> Hello Kyle,
>
> The difference between echo and print is that print returns a boolean
value,
> so you can check if "blah blah" was successfully printed.
>
> more info about this:
> www.php.net/print
> www.php.net/echo
>
> Best regards,
> Johannes Schill
>
> - Original Message -
> From: "Kyle Smith" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 26, 2001 7:15 AM
> Subject: [PHP] Big difference?
>
>
> What is the difference between using
>  print "blah blah"
> ?>
>
> and
>  echo "blah blah"
> ?>
>
>
> -legokiller666-
> http://www.StupeedStudios.f2s.com
> New address new site
>
> ICQ: 115852509
> MSN: [EMAIL PROTECTED]
> AIM: legokiller666
>
>
>
>
>
> --
> 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]
>
>

-- 
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]




Re: [PHP] Big difference?

2001-07-25 Thread Alexander Wagner

Henrik Hansen wrote:
>  > The difference between echo and print is that print returns a
>  > boolean value, so you can check if "blah blah" was successfully
>  > printed.
>
> hmm isen't it always succesfull printed or did I miss something?

IIRC print will return false if the connection is aborted (by the 
browser, usually). There may be other cases.

regards
Wagner

-- 
Madness takes its toll. Please have exact change.

-- 
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]




Re: [PHP] Big difference?

2001-07-25 Thread Nathan Cook

Not if there are syntax errors like misplaced quotes (", ').

Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Henrik Hansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 3:54 PM
Subject: Re: [PHP] Big difference?


> [EMAIL PROTECTED] (Johannes Schill) wrote:
>
>  > Hello Kyle,
>  >
>  > The difference between echo and print is that print returns a boolean
value,
>  > so you can check if "blah blah" was successfully printed.
>
> hmm isen't it always succesfull printed or did I miss something?
>
> --
> Henrik Hansen
>
> --
> 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]
>
>


-- 
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]




Re: [PHP] Big difference?

2001-07-25 Thread Henrik Hansen

[EMAIL PROTECTED] (Johannes Schill) wrote:

 > Hello Kyle,
 > 
 > The difference between echo and print is that print returns a boolean value,
 > so you can check if "blah blah" was successfully printed.

hmm isen't it always succesfull printed or did I miss something?

-- 
Henrik Hansen

-- 
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]




Re: [PHP] Big difference?

2001-07-25 Thread Schill, Johannes

Hello Kyle,

The difference between echo and print is that print returns a boolean value,
so you can check if "blah blah" was successfully printed.

more info about this:
www.php.net/print
www.php.net/echo

Best regards,
Johannes Schill

- Original Message -
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 7:15 AM
Subject: [PHP] Big difference?


What is the difference between using


and



-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666





-- 
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]




[PHP] Big difference?

2001-07-25 Thread Kyle Smith

What is the difference between using 


and 



-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666