Jump to content

Pakiman89

New Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Pakiman89

  1. 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
    
    
  2. 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?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.