CodeIgniter Forums

Full Version: concatenation?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Bhavani Shekhawat[/eluser]
I am unable to concatenate in CI. I am copying down a piece of code that I wanna concatenate.

echo form_label('Enter Artifact Name:', 'ArtifactName');
echo form_input('ArtifactName', set_value('ArtifactName', 'Required'));
echo form_label('Enter Artifact Description:', 'Description');
echo form_input('Description', set_value('Description', 'Required'));

El Forum

These functions return HTML. What exactly do you want to concatenate?

These functions should be in your view file, where they generate HTML to be sent to the browser...