Well, from my understand, the file is defined here:
PHP Code:
$qrback[1]="qrback1.jpg";
so qrback$num would define the $qrback call as qrback1.jpg
Also,
PHP Code:
$num = rand(1,4);
is doing the same thing as
PHP Code:
$numbgs = count($qrback);
// Generate randomness
$num = rand(1,$numbgs);
But in the bottom example, it just counts the number of variables and applies the randomization to that. Just about the same thing, except you don't have to set the rand max number when adding a new variable.
So I've tried a few different things, still to no avail. But I WILL have this working before I put my board up