Well, I think there are several ways to do this process. I think the easiest would be to use JQuery/AJAX and
run the displays outside of the current page. This is a little tricky, but, not to complicated. Does that sound odd?
Okay, PHP can call other pages. It can also post to other pages and grab the results of the page. In that case,
the second page does not have any HTML in it, but, just processes the data. You would send the computer to
the page (computer number) and have the second page grab the results which sends the results back to your
current page you are on. You could set the CHECK option in your checkboxes to run the second page and then
show the results. If you need to see ALL of the results at the same time, you could APPEND the results to the
bottom of the last results. OR, you could just view them live using RADIO buttons instead of CHECKBOXES.
Either way would work.
Using the same checkmarks would require you to add a Javascript call in the field to call a routine.
That routine would call the second page sending just the computer number to it. It would return the details
and append it to the bottom of the div where you are showing the results.
Did that make sense? In it’s simplest form, JQuery can load a page of data and place it into a DIV or other
are on your page. It just magically appears. A base code for doing this from the JQuery manual is like this:
$.get( “ajax/test.html?computer=1”, function( data ) {
$( “.result” ).html( data );
});
Not a working code, but, just the absolute basic idea… Here is a great tutorial explaining how to do this with
added animations for the “Loading…”, etc. It should give you a good start. Also, here is a link to the JQuery
explanation of the get() function in case you need further info… Hope this helps! If you get stuck let us know.
http://code.tutsplus.com/tutorials/how-to-load-in-and-animate-content-with-jquery–net-26
http://api.jquery.com/jQuery.get/