>> $q q HERE
"; //echo"$id <----id
"; $query = "SELECT name, questions, category FROM trivia_quizzes WHERE(id = '$id')"; $result = mysql_query($query); $row = mysql_fetch_row($result); //echo mysql_errno().": ".mysql_error()."
"; $name = $row[0]; //echo"$name <---name
"; $questions = $row[1]; //echo"$questions <---qs
"; $category = $row[2]; //echo"$category <---category
"; $qids = explode(":",$questions); $quizlength = count($qids); //echo"$quizlength <---quizlength
"; $maxnumber = 6; $start = 0; $end = 6; $questions = explode(':',$questions); // echo"$questions[$qnumber] << qus
"; // echo"$category , category
"; $query="SELECT question, answer, wrong1, wrong2, wrong3, wrong4, wrong5,image FROM $category WHERE(id = '$questions[$qnumber]')"; $result = mysql_query($query); $row = mysql_fetch_row($result); // echo mysql_errno().": ".mysql_error()." 2
"; $question = $row[0]; $answers[1] = $row[1]; $answers[2] = $row[2]; $answers[3] = $row[3]; $answers[4] = $row[4]; $answers[5] = $row[5]; $answers[6] = $row[6]; $image = $row[7]; $qIndexes = range(1, 6); srand((float)microtime() * 1000000); shuffle($qIndexes); ?> Young Galvanizing, Inc. Galvanizing Trivia Quiz Question
Young Galvanizing, Inc., Provider of hot dip galvanizing of steel products.
Young Galvanizing, Inc. Young Galvanizing, Inc. Galvanizing Trivia Quiz.



Member of the American Galvanizers Association.
Return to Trivia Quiz Home page.

Good luck with our Galvanizing Trivia Quiz!

Young Galvanizing, Inc. Galvanizing Quiz.
" cellspacing="0" class="table1" height="200" > " name = "question" > "> "> "> "> "> "> ">

"; } echo"$q. $question
"; for($xc = 0; $xc <6; $xc++) { $rr = $indexes[$xc]; } $count = 0; $count2 = 1; while($count2 <= 6) { $i = $indexes[$count]; //echo"$i <----i
"; $aa = $answers[$qIndexes[$count]]; if($aa != "0") { $name = "answers2pass"; echo"      $aa
"; $count++; $count2++; } else { $count++; $count2++; } } ?>
" class="button" name="next">
Return to Trivia Quiz Home page.

PNC Park, Pittsburgh, Pa.

Copyright © Young Galvanizing, Inc. All rights reserved.