If my product_bank select value is
0|AAA|1|BBB|2|CCC|3|DDD|
I want the database to store AAA, BBB, CCC
not is 0, 1, 2
How to use functions
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
How to implement select to save the value, not the ID
-
- Posts: 7
- Joined: Tue Apr 05, 2022 10:18 am
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact:
Re: How to implement select to save the value, not the ID
Change it to
AAA|AAA|BBB|BBB|CCC|CCC|DDD|DDD
AAA|AAA|BBB|BBB|CCC|CCC|DDD|DDD
-
- Posts: 7
- Joined: Tue Apr 05, 2022 10:18 am