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

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

ugiugi Posts: 1Questions: 1Answers: 0

$this->datatables->add_column('view',
'<a href="javascript:void(0);" class="edit_record btn btn-info btn-xs" data-kode=$1 data-nama=$10

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    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

This discussion has been closed.