- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
$answer = "";
$word_arr = split (" ", $text);
$rn = mt_rand(1,sizeof($word_arr))-1;
$word = $word_arr[$rn];echo $rn." ";echo $word."_<br>";
$i=1;
$r = mt_rand(6,12);
echo "r=".$r."<br>";
while ($i < $r) :
$result = mysql_query("SELECT * FROM suffixes WHERE (`prfx`='$word');");
$j = 0;
while ($j < mysql_numrows($result)) :
$sffxs = mysql_result($result, $j, 'sffxs');
$j++;
endwhile;