Another Zend Framework Tutorial. This one for creating a chat application on Zend Developer Zone site.
Link
Tuesday, November 21, 2006
Understanding the Zend Framework
This is one of the better tutorials I've come across on how to use the new Zend Framework.
Understanding the Zend Framework
Understanding the Zend Framework
My if ... else Shortcut
I am always forgetting how to do this shortcut in PHP so I figured if I post it I will always have it.
(condition ? value if true : value if false)
if ($iamcool==true) {
$x=1;
} else {
$x=2;
}
is the same as
if ($imamcool==true) : $x=1 ? $x=2;
(condition ? value if true : value if false)
if ($iamcool==true) {
$x=1;
} else {
$x=2;
}
is the same as
if ($imamcool==true) : $x=1 ? $x=2;
Subscribe to:
Posts (Atom)