why the $1 and $10 is the same value when executed?
why the $1 and $10 is the same value when executed?

$this->datatables->add_column('view',
'<a href="javascript:void(0);" class="edit_record btn btn-info btn-xs" data-kode=$1 data-nama=$10
This discussion has been closed.
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin