Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Fajar's avatar
Level 2

code automatic

hey, I want to make a policy code with information or conditions that have been determined

I have a table

submission
type_id
types
code_premi
Policy
submission_id
for code_premi
Motor ->  0205
Car -> 0110
2002 -> students
for the expected code structure
1002-0205-19-11-0002
1002-0110-19-11-0002
changes occur in 0205 and 0002

thank you

0 likes
1 reply
bobbybouwmann's avatar

I seriously have no clue what your question is...? Can you please rephrase it?

Also, what have you tried so far? You already seem to have some data and you want to combine the data to one string it seems. With basic relations you can already fetch this data right?

Please or to participate in this conversation.