thanks to the folks who answered my last question
i keep getting this error: Function name must be a string in /home/pulsergf/public_html/these/vars.php on line 4
<?
$array = array('555', '666', 'aaa', 'bbb', '777', '888');
$rand_index = mt_rand(0, count($array) / 2 - 1) * 2;
$define('BOUGHT','echo "$array[$rand_index]";');
$define('SOLD','echo "$array[$rand_index+1]";');
?>
so it needs to choose the pair in the array for BOUGHT and SOLD but i keep getting this error. thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…