16. september 2011 - 19:30
#5
Tak for jeres svar, men ikke noget af det virker umiddelbart.
Send-knappen skal samtale med et php script, der i toppen har koden: if (isset($_POST['cmdSubmit'])) {
Håber en af jer kan skive den helt nøjagtige html i bunden af dette script, jeg skal bruge for at erstatte standard submit knappen med en lækker grafik: Her følger hele molevitten, der i andre henseender virker:
<form action="sust_adj_combine_results.php" method="post">
<?php
if (isset($_POST['cmdSubmit'])) {
}
$n = 18; // this is the declaration of the total item on your quiz and array is used as a storage of //the question in order to display it in random
$links=array(
'<a href="java script:void(0)" onClick="EvalSound(\'sound1\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer1" name="answer1" >
<img id="á" onclick="insert(this.id, \'answer1\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif"/>
<img id="é" onclick="insert(this.id, \'answer1\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer1\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer1\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer1\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer1\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer1\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer1\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer1\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound2\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer2" name="answer2" >
<img id="á" onclick="insert(this.id, \'answer2\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer2\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer2\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer2\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer2\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer2\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer2\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer2\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer2\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound3\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer3" name="answer3" >
<img id="á" onclick="insert(this.id, \'answer3\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer3\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer3\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer3\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer3\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer3\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer3\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer3\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer3\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound4\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer4" name="answer4" >
<img id="á" onclick="insert(this.id, \'answer4\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer4\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer4\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer4\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer4\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer4\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer4\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer4\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer4\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound5\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer5" name="answer5" >
<img id="á" onclick="insert(this.id, \'answer5\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer5\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer5\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer5\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer5\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer5\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer5\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer5\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer5\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound6\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer6" name="answer6" >
<img id="á" onclick="insert(this.id, \'answer6\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer6\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer6\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer6\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer6\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer6\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer6\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer6\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer6\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound7\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer7" name="answer7" >
<img id="á" onclick="insert(this.id, \'answer7\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer7\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer7\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer7\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer7\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer7\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer7\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer7\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer7\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound8\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer8" name="answer8" >
<img id="á" onclick="insert(this.id, \'answer8\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer8\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer8\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer8\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer8\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer8\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer8\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer8\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer8\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound9\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="20" id="answer9" name="answer9" >
<img id="á" onclick="insert(this.id, \'answer9\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer9\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer9\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer9\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer9\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer9\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer9\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer9\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer9\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound10\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer10" name="answer10" >
<img id="á" onclick="insert(this.id, \'answer10\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer10\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer10\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer10\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer10\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer10\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer10\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer10\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer10\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound11\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer11" name="answer11" >
<img id="á" onclick="insert(this.id, \'answer11\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer11\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer11\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer11\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer11\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer11\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer11\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer11\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer11\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound12\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer12" name="answer12" >
<img id="á" onclick="insert(this.id, \'answer12\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer12\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer12\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer12\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer12\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer12\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer12\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer12\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer12\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound13\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer13" name="answer13" >
<img id="á" onclick="insert(this.id, \'answer13\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer13\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer13\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer13\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer13\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer13\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer13\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer13\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer13\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound14\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer14" name="answer14" >
<img id="á" onclick="insert(this.id, \'answer14\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer14\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer14\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer14\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer14\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer14\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer14\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer14\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer14\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound15\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer15" name="answer15" >
<img id="á" onclick="insert(this.id, \'answer15\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer15\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer15\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer15\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer15\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer15\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer15\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer15\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer15\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound16\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer16" name="answer16" >
<img id="á" onclick="insert(this.id, \'answer16\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer16\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer16\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer16\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer16\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer16\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer16\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer16\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer16\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound17\')"><img border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer17" name="answer17" >
<img id="á" onclick="insert(this.id, \'answer17\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer17\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer17\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer17\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer17\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer17\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer17\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer17\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer17\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
'<a href="java script:void(0)" onClick="EvalSound(\'sound18\')"><img border="0" border="0" src=../../../graphics/play_sound_button_40px.jpg></a>
<input type="text" size="18" id="answer18" name="answer18" >
<img id="á" onclick="insert(this.id, \'answer18\');" alt="Indsæt et á i tekstfeltet" src="../images_char/1.gif" />
<img id="é" onclick="insert(this.id, \'answer18\');" alt="Indsæt et é i tekstfeltet" src="../images_char/2.gif" />
<img id="í" onclick="insert(this.id, \'answer18\');" alt="Indsæt et í i tekstfeltet" src="../images_char/3.gif" />
<img id="ó" onclick="insert(this.id, \'answer18\');" alt="Indsæt et ó i tekstfeltet" src="../images_char/4.gif" />
<img id="ú" onclick="insert(this.id, \'answer18\');" alt="Indsæt et ú i tekstfeltet" src="../images_char/5.gif" />
<img id="¿" onclick="insert(this.id, \'answer18\');" alt="Indsæt et ¿ i tekstfeltet" src="../images_char/6.gif" />
<img id="¡" onclick="insert(this.id, \'answer18\');" alt="Indsæt et ¡ i tekstfeltet" src="../images_char/7.gif" />
<img id="ü" onclick="insert(this.id, \'answer18\');" alt="Indsæt et ü i tekstfeltet" src="../images_char/8.gif" />
<img id="ñ" onclick="insert(this.id, \'answer18\');" alt="Indsæt et ñ i tekstfeltet" src="../images_char/9.gif" />
',
);
// displaying the array in random until $n number is satisfied.
$rand_keys = array_rand($links, $n);
echo "<center>". "<table><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "1. ". $links[$rand_keys[0]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "2. ".$links[$rand_keys[1]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "3. ". $links[$rand_keys[2]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "4. ".$links[$rand_keys[3]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "5. ".$links[$rand_keys[4]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "6. ".$links[$rand_keys[5]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "7. ".$links[$rand_keys[6]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "8. ".$links[$rand_keys[7]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "9. ".$links[$rand_keys[8]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "10. ".$links[$rand_keys[9]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "11. ".$links[$rand_keys[10]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "12. ".$links[$rand_keys[11]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "13. ".$links[$rand_keys[12]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "14. ".$links[$rand_keys[13]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "15. ".$links[$rand_keys[14]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "16. ".$links[$rand_keys[15]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "17. ".$links[$rand_keys[16]] . "<br>";
echo "</td></tr><tr><td>";
echo("<font size=\"2\" face=\"Verdana\">");
echo "18. ".$links[$rand_keys[17]] . "<br>";
echo "</td></tr><tr><td>";
/*
you can add numbers according to your needs */
echo "</td></tr></table>";
echo "<center>". "<br>";
//for($i=0; $i<$n; $i++)
//{
//echo $rand_keys[$i]."<br>";
//}
?>
<input name="cmdSubmit" type="submit" id="cmdSubmit" value="Se resultat"/>
</form>