in reply to Re: hash checking
in thread hash checking
is a partial printout of the results page. The following code is the HTML for itq39 => reading q25 => q40 => false
And the following is how I'm checking the last two questions (by the way, ALL questions have the same format and all are coming back wrong).<td><p>39) question goes here</p> <blockquote> <p> sub question goes here </blockquote> <p> <input name="q39" type="radio" value="reading"> reading <input name="q39" type="radio" value="writing"> writing </p></td> </tr> <tr> <td><p>40) True or false? question goes here</p> <blockquote> <p> sub question here</p> </blockquote> <p> <input name="q40" type="radio" value="true"> true <input name="q40" type="radio" value="false"> false </p></td> </tr> <tr> <td><input type="submit" name="Submit" value="Submit"></td> </tr> <tr> <td> </td> </tr> </table> </form>
if ($questions{"39"} eq "reading") { $right++; } else { $wrong++; } if ($questions{"40"} eq "false") { $right++; } else {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: hash checking
by jhourcle (Prior) on May 22, 2005 at 02:15 UTC |