- Asyraf_wa
- CakePHP
- Hits: 242
Concat - Combining Two Attributes
Concatenate, concatenation, or concat is a term that describes combining a string, text, or other data in a series without any gaps. If you've 2 tables, user and documents. The user table have few attributes such as firstname and lastname. Then in table documents, you need to display a drop-down menu to select the fullname of the user which required developer to combine the value of firstname and lastname in one input. Assume that your database as shown below:
Add a comment