P
P
Pavel2016-02-03 23:12:59
PHP
Pavel, 2016-02-03 23:12:59

How to make php grid, what to use?

I form a php form for ordering goods in the admin panel.
5 fields, but how many lines will be in the end - it's not clear.
What tool should be used to form dynamic lines in the order, and then send this information to the database.
I would be glad to help and links)
I googled, but I didn’t find clear answers, or I read it wrong.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
wol_fi, 2016-02-04
@wol_fi

If you don't need to search by custom data, serialize the array with data and put a string in the base. If you need a lookup or other processing that cannot be done with serialized data, use the nosql solution.

P
Pavel, 2016-02-04
@neon51r

I did not understand your answer a little .. I
assume the following:
there are fields -
No. | name | price | number
and for example the button to add another line.
and form two orders -
a)
1 | title1 | price1 | quantity
2 | title2 | price2 | quantity
3 | title3 | price3 | number
b)
1 | title1 | price1 | quantity
2 | title2 | price2 | quantity
3 | title3 | price3 | quantity
4 | title4| price4 | quantity
5 | title5 | price5 | number
all fields will be filled by hand, but the number of lines is dynamic. But what to use, so that you can create a dynamic order in the lines, and fill them in the database.

B
bas01, 2022-04-10
@bas01

As an example, you can see here ais.rf there is a grid library in php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question