Jason Pruim wrote:
    $cmd = $iau ? 'verify account' : 'login';

I've seen these kinds of things in other scripts that I've looked at, but don't totally understand what the : does between 2 options...

$cmd = $iau ?         'verify account'     :            'login';
   if (^^^^) { $cmd = ^^^^^^^^^^^^^^^^; } else { $cmd = ^^^^^^^; }

Simple as that.

-Stut

--
http://stut.net/

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

Reply via email to