Re: Shortened "If - Then - Else"?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Shortened "If - Then - Else"?

From: Alvaro G Vicario <alvaro_QUITAR_REMOVE@telecomputeronline.com>
Date: Mon Jul 04 2005 - 12:00:03 CEST

*** Ewoud Dronkert wrote/escribió (Mon, 04 Jul 2005 11:42:54 +0200):
> On 4 Jul 2005 02:36:18 -0700, lucanos@gmail.com wrote:
>> Just wondering whether there is an abbreviated "If - Then - Else"
>> format in PHP, much like that possible in JavaScript.
>
> Have you looked in the manual yet?

More specifically:

http://es2.php.net/operators

I've always wondered how people manage to learn a programming language
without even looking at the documentation :)

-- 
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Received on Mon Oct 17 21:01:56 2005