Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Dynamic Table -Design?

Feb 27, 2016 6:51AM PST

Is it possible to or how can I design a dynamic tabular input?
Recommendations/comments are well appreciated.

Discussion is locked

- Collapse -
Answer
You would be a programmer then
Feb 27, 2016 11:24AM PST

Choose the tools your web server offers and craft your code to do this. This is something I would expect a second or third year programmer to tackle.

- Collapse -
Server
Feb 27, 2016 10:52PM PST

I'm using MySQL

- Collapse -
Re: MySQL
Feb 28, 2016 1:55AM PST

That's a strange answer. Your question (dynamic tabular input) clearly is about the front-end. The database clearly is back-end.

A student of mine did it as part of his final thesis, programming in C#, so the answer clearly is yes. He made kind of real-time screen-generator that used the data dictionary of MySQL to generate a basic maintenance screen for a table given as parameter.
Just like MS Access or the MySQL Query browser do if you open a table.

Kees

- Collapse -
My SQL
Feb 28, 2016 6:09AM PST

Can I edit my post? I wish i could drop that. hahaha
Sorry I didn't make myself clear.
It should be: "I'm using PHP." -My mistake.

- Collapse -
Re: PHP
Feb 28, 2016 10:51AM PST

Surely it can be done in PHP also. You just generate the correct html as needed for a table.

Kees

- Collapse -
Server
Feb 28, 2016 6:11AM PST

Sorry. It should be: "I'm using PHP".
anyways,
thanks for the reply. I really appreciate it.

- Collapse -
PHP and MySQL are a common mix.
Feb 28, 2016 8:45AM PST

But as Kees noted, the student was in their final year so it's not something you find a beginner crafting. They try but some get frustrated as they are learning the craft.