Pakiman89
-
Posts
4 -
Joined
-
Last visited
Posts posted by Pakiman89
-
-
I am trying to create a quiz page in which I don't have to write each question, however, i have a code that randomly search through a database and has 3 random answers and one right answer. However, I cannot figure out how to randomly arrange the answers.
$rand_question = mysql_query("Select * from $table where id !='0' order by rand()"); $rand_info=mysql_fetch_array($rand_question); $correct_answer = $rand_info[username]; I want to have 3 other usernames show up and the correct one show up in a radio and cannot figure it out
-
Whoops, looks like its javacript. The form isn't being submitted.
-
So I basically been using my Firefox browser as the browser for my website but when my buddy loaded the website, IE has many flaws on it.
<input type="hidden" name="hidden" value="1"> <input type="submit" name="submit" value="Submit" onclick="this.disabled= true; this.value='Please Wait...'; this.form.submit();">
Using this code works on Firefox but on IE it just sits there and looks pretty. Can anyone help me?
Creating a quiz
in PHP Coding Help
Posted
Figured it out. Thanks