Chris,<br><br>&gt;&gt;I'm wondering if this is adding too much complexity to the display of the test<br>results.&nbsp;&nbsp;Will many users really care to see more than say 5 of the testing<br>results?&nbsp;&nbsp;Does it help them to show them varying numbers of entries?
<br><br><br>I guess that's a matter of opinion for each user.&nbsp; I was looking through the page with variables of screen size, and I found that 5 results looks too limiting on 1280x1024, but lowering to 1024x768 or 800x600, it's just right.&nbsp; Allowing the user to choose how many to show based on system setup and preference might work.
<br><br>I guess before I fix the coding, I take it that you don't think this is a good idea?<br><br><div><span class="gmail_quote">On 2/10/06, <b class="gmail_sendername">Chris Morgan</b> &lt;<a href="mailto:cmorgan@alum.wpi.edu">
cmorgan@alum.wpi.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm wondering if this is adding too much complexity to the display of the test
<br>results.&nbsp;&nbsp;Will many users really care to see more than say 5 of the testing<br>results?&nbsp;&nbsp;Does it help them to show them varying numbers of entries?<br><br><br>On Tuesday 07 February 2006 1:27 pm, Jason Weisberger wrote:
<br>&gt; Allows the user to display the selected amount of testing results.<br>&gt;<br>&gt; Changelog: include/testResults.php<br>&gt;<br>&gt; Index: appdb/include/testResults.php<br>&gt; ===================================================================
<br>&gt; RCS file: /home/wine/appdb/include/testResults.php,v<br>&gt; retrieving revision 1.9<br>&gt; diff -u -r1.9 testResults.php<br>&gt; --- appdb/include/testResults.php&nbsp;&nbsp;&nbsp;&nbsp;28 Jan 2006 22:53:28 -0000&nbsp;&nbsp;&nbsp;&nbsp;1.9<br>&gt; +++ appdb/include/testResults.php&nbsp;&nbsp;&nbsp;&nbsp;7 Feb 2006 18:23:52 -0000
<br>&gt; @@ -349,23 +349,25 @@<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Show the Test results for a application version<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function ShowVersionsTestingTable($iVersionId, $iCurrentTest, $link,<br>&gt; $iDisplayLimit)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>&gt; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$showAll = $_REQUEST['showAll'];
<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;$iDisplayLimit = $_REQUEST['iDisplayLimit'];<br>&gt; +<br><br>Do you really want to override the display limit passed into the function?<br><br><br><br>&gt; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;form method=get action=&quot;'.$PHP_SELF.'&quot;&gt;';
<br>&gt; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;input name=&quot;versionId&quot; type=hidden value=&quot;',$iVersionId,'&quot;<br>&gt; /&gt;';<br>&gt; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($rowsUsed &gt;= $iDisplayLimit &amp;&amp; !is_string($showAll))<br>&gt; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;input class=&quot;button&quot; name=&quot;showAll&quot; type=submit
<br>&gt; value=&quot;Show All Tests&quot; /&gt;';<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;form method=get action=&quot;'.$PHP_SELF.'&quot;&gt;';<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;input name=&quot;versionId&quot; type=hidden value=&quot;',$iVersionId,'&quot; /&gt;';
<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;if($rowsUsed &gt;= 5) {<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo 'Tests:&lt;select name=&quot;iDisplayLimit&quot;&gt;';<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;option value=&quot;5&quot;'; if($iDisplayLimit == 5) { echo '<br>&gt; selected=&quot;selected&quot;';} echo '&gt;5&lt;/option&gt;';
<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;option value=&quot;10&quot;'; if($iDisplayLimit == 10) { echo '<br>&gt; selected=&quot;selected&quot;';} echo '&gt;10&lt;/option&gt;';<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;option value=&quot;15&quot;'; if($iDisplayLimit == 15) { echo '
<br>&gt; selected=&quot;selected&quot;';} echo '&gt;15&lt;/option&gt;';<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;option value=&quot;20&quot;'; if($iDisplayLimit == 20) { echo '<br>&gt; selected=&quot;selected&quot;';} echo '&gt;20&lt;/option&gt;';
<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;option value=&quot;ALL&quot;'; if($iDisplayLimit == &quot;ALL&quot;) { echo<br>&gt; ' selected=&quot;selected&quot;';} echo '&gt;ALL&lt;/option&gt;';<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;/select&gt;';
<br><br>You can use a for() loop to generate all of these entries.<br></blockquote></div><br><br clear="all"><br>-- <br>Jason Weisberger<br><a href="mailto:jbdubbs@gmail.com">jbdubbs@gmail.com</a>