Simple question. Here is the code.
$r = rand(0,1); $c = ($r==0)? rand(65,90) : rand(97,122); $inputpass .= chr($c);
I understand what it does as a result of end , but I would like to get a more detailed explanation of how it works, so I can use it myself. Sorry if this is a bad question.
If you don't know what I'm asking for, its function (function?) Used here:
$c = ($r==0)? rand(65,90) : rand(97,122);
source share