As far as the output in the browser there is no differnece between echo " ";
and print(" "); .
-Sean
- Original Message -
From: "eoghan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 5:17 AM
Subject: [PHP] just
eoghan wrote:
>whats the difference between
>print and echo ?
>
From memory, print() is a function while echo is a language construct.
The major difference is that you can use echo with a comma seperated
list of arguments, while print requires you to concatenate strings. For
example:
echo "h
hi
whats the difference between
print and echo ?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo