Michael said:
Learn the bare basics at
www.php.net or
www.phpfreaks.com (which has much
more advanced articles as well) and one at
http://hotwired.lycos.com/webmonkey/01/48/index2a.html?tw=programming (which
I haven't tried).
edwin, they are all taking about server-side modification of the page. A
reload of the page. You can't have poked around much to miss Javascript!
You can use Javascript manipulation of the document to achieve the same
thing within the client browser without reloading the page - provided
that your user has a javascript enabled browser. It depends on the
environment that your users have.
Have a look at
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929
appendinx D, "ECMA Script Language Binding". (ECMA script being the
standardized version which most Javascript adheres to)
You can access all elements of the document.
<td id="mycell">
....
<script type="text/javascript">
var cell = document.getElementById("mycell");
.....
</script>
Remove all child nodes from the cell, and add the ones you want.
To create a text node to append to the cell, use
document.createTextNode("hello world");
For more help on this, take it to comp.lang.javascript.
Nige