note 14051 deleted from language.expressions.php by philip
| From: | philip@php.net | Date: | Fri, 24 Aug 2001 18:24:19 +0000 |
| Subject: | note 14051 deleted from language.expressions.php by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17084@lists.php.net to get a copy of this message | ||
ECHO is not a function, it's a command. So, don't use parentheses in it. Example:
$x=1;
echo "Can you understand ", $x==1 ? "my example" : "your example",
" now?"