I'm just looking for a simple solution to populate a table. What I want is to post a single field (name) with a submit button. When the user enters his name and hits sumbit - it will populate a table on the same html page. Is there a way to do this using just Javascript or should it be done with PHP?
That depends on how you get the data that does the populating.
You may even want a combo of PHP and Javascript to dynamically create the table (AJAX).
__________________
If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/