Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP: comanda if
#2
IF-ul mai poate fi scris si asa (o forma mai "lite"):
PHP Code:
$a 5;
$b 6;

echo (
$a $b) ? "a > b!" "a < b!"
Reply


Messages In This Thread
PHP: comanda if - by Admin - 10-06-2009, 11:14 PM
RE: PHP: comanda if - by casperel - 11-05-2009, 12:15 PM
RE: PHP: comanda if - by hbunny - 11-05-2009, 04:54 PM
RE: PHP: comanda if - by casperel - 11-07-2009, 03:27 PM



Users browsing this thread: 1 Guest(s)