If php is reading or generating the numbers, I'd almost say your out of luck. But you might be able to work around this with some JavaScript. If you can have JavaScript read the values and do the math, it can update
you totals within a form quite simply:

<form name=totals>
    <input type=text name=total1>
    <input type=text name=total2>
</form>

<script language="JavaScript">
<!--

    // Read and Calculate your totals

    document.forms['totals'].total1.value = new_total1;
    document.forms['totals'].total2.value = new_total2;
//-->
</script>

Your table might also have to use form field to contain dynamic values also. Not much for php to do but output something like above. I don't know if this is what your looking for, but I hope it helps :-)

"Karl J. Stubsjoen" wrote:

Does anyone know how to stream information to a browser (without the client
having to hit refresh)?  What do I need to get started?  We want to have 2
numbers we want to display on the browser, we want these numbers to change
as the data changes in the table, but done "streaming".

* I am coding this in PHP of course : ) *

Karl

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
209 Media <http://www.209media.com>
Ron Wills <[EMAIL PROTECTED]>
Programmer
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to