Everything has been explained, I will just mention this is more efficient, as submit() function runs only once:

$sFont =($tmp=submit("font")) ? SITE_ROOT . PROG_PATH . $tmp : "";


Harry Wiens wrote:


can someone explain this for me:
...
$sFont =submit("font") ? SITE_ROOT . PROG_PATH . submit("font") : "";
...

mfg.
hwiens





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to