a database table or an html table?
I've never worked with PHP-Nuke, but it might be easier to try getting this to work as a stand-alone (you can use the databases, etc from PHP-nuke, just create a script that runs on it's own on your server).
If I understand your question, you want to have the values submitted by a user via form populate an html table? If so, here's how:
- You'll need to create the html form as usual, and set the form tag like this:
<form method="post" action="process.php"> where process.php is the php script that will handle the form values. method can be post or get, and you'd access the submitted variables in php via $POST and $GET respectively.
So if you have three fields: name, email, and phone, in process.php, you would just go like this:
<table class="form-results">
<tr>
<td>Name: <?php print $_POST['name']; ?></td>
</tr>
<tr>
<td>Email: <?php print $_POST['email']; ?></td>
</tr>
<tr>
<td>Phone: <?php print $_POST['phone']; ?></td>
</tr>
</table>
You could add form validation, check for empty fields, etc, but this should get you going.
Hopefully I answered your question. Let me know if I misunderstood.