note 34771 rejected from function.echo by didou
| From: | didou@php.net | Date: | Wed, 06 Aug 2003 11:36:06 +0000 |
| Subject: | note 34771 rejected from function.echo by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53508@lists.php.net to get a copy of this message | ||
Note Submitter: szczesniak@poczta.nboy.orgonet.pl
----
Hi!
This code is OK.
<?
$x=2;
($x==2)?printf("Karol"):printf("Kamil");
?>
But this code is not OK. Why?
<?
$x=2;
($x==2)?echo("Karol"):echo("Kamil");
?>
TIA