Posted by news.tpi.pl on 08/26/06 17:52
I have found the solution:
echo $some_var ? print 'true': print 'false';
Leszek
Uytkownik "news.tpi.pl" <admin@seldom.eu> napisa w wiadomoci
news:ecq0sh$rs6$1@nemesis.news.tpi.pl...
> Hi!
>
> What does it mean:
>
> <?php echo (isset($_POST['work_hours_total']) ? $_POST['work_hours_total']
> : ""); ?>
>
> I don't understand logic of that expression. Anybody can help me?
>
> Leszek
>
>
>
[Back to original message]
|