ok, so, tell me if this is close to correct?
after connecting to MySQL:
$result = mysql_query("SELECT id FROM config");
$array = array_rand($result);
echo "<a href=\"file.php?id=".$result[$array[0]]."\">link text</a>\n";
I'm just guessing, is it [0] or [1], because in the example on that php page about array_rand, when choosing two entries to show, they used [0] and [1]. so would the code above be right?
Brandon