Custom HTML in array (server side)
Custom HTML in array (server side)
BNR32
Posts: 12Questions: 4Answers: 0
Hi, I'm trying to put in one column custom content like '<img src="image.png"/>' in server side process:
$columns = array(
array( 'db' => 'first_name', 'dt' => 'first_name' ),
array( 'db' => 'last_name', 'dt' => 'last_name' ),
array( 'db' => 'position', 'dt' => 'position' ),
array( 'db' => 'office', 'dt' => 'office' )
);
Insert one array like:
( 'dontknow' => '<img src="image.png"/>', 'dt' => 'image' )
How I can do this?
Thank you very much.
This discussion has been closed.
Answers
Bump.