Hi!
For example I have a table in MySQL database where are 5 entries:
ID - NAME - SOMETHING
------------------------------
1 asd 4
2 dsa 5
3 gfd 7
4 fgh 6
5 kjh 9
------------------------------
Now, how to make a function which orders the table so, that corrects the SOMETHING values and saves them like so:
ID - NAME - SOMETHING
------------------------------
1 asd 1
2 dsa 2
3 gfd 3
4 fgh 4
5 kjh 5
------------------------------
how to do that?
this function should execute after some queries.
...and feel free to answer in German
For example I have a table in MySQL database where are 5 entries:
ID - NAME - SOMETHING
------------------------------
1 asd 4
2 dsa 5
3 gfd 7
4 fgh 6
5 kjh 9
------------------------------
Now, how to make a function which orders the table so, that corrects the SOMETHING values and saves them like so:
ID - NAME - SOMETHING
------------------------------
1 asd 1
2 dsa 2
3 gfd 3
4 fgh 4
5 kjh 5
------------------------------
how to do that?
this function should execute after some queries.
...and feel free to answer in German