Very simple:
So... That is working perfectly
<?=($A>9)?":)":":(";?>
Now... How can I say the same exact thing without =
AND without echo
?
iow... I want to use that shortcut technique inside php code in between other php lines.
so this is NOT the correct syntax but just to get the idea more clearly...
<?
$A=50;
($A>9)?":)":":(";
?>
Aucun commentaire:
Enregistrer un commentaire