Tables
| From: | Hafidz Abdullah | Date: | Tue, 24 Aug 2004 05:23:24 +0000 |
| Subject: | Tables | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-35863@lists.php.net to get a copy of this message | ||
Hi everyone.
I'm new to PHP. And so I'm so keen on finding people who are willing to share their
knowledge with me.
I've generated forms containing text boxes, check boxes, text areas, drop boxes, radio buttons
& hidden fields as an HTML table with two columns, the first for the desciption, the second, the
field. I also have a final row for the Submit button.
I also have a function which takes an array of my field_commander objects as follows:
$fca = array(new field_commander("Yes, we would like to have our logo
featured:",40,"C","",$fld_count++),
new field_commander("Exhibiting Company
Name:",40,"T","",$fld_count++),
new field_commander("Please list our company under the
alphabet:",40,"D",$a,$fld_count++));
new field_commander("",40,"R",$a,$fld_count++));
Now for the part which I have no idea as to how it can be done. When the form is submitted, it
should be processed to show a table that presents the data as text instead of input controls. The
table should be in a string - which is then printed, i.e. do not print the parts directly.
I would very much appreciate it if you can show me some examples & furnish me with the
explanations.
Thanks & regards,
Hafidz