Add Column View Button w/ 2 Variables
Add Column View Button w/ 2 Variables
![Hayezb](https://secure.gravatar.com/avatar/3f2ad4729567893f41a9cd268a1f15ff/?default=https%3A%2F%2Fvanillicon.com%2F3f2ad4729567893f41a9cd268a1f15ff_200.png&rating=g&size=120)
Hello!
I'm a little confused on how to add a second variable to my "view" button. Below is what I'm using, but I need to pass the ID and another ID as well.
$this->datatables->add_column('edit', '<a href="/provider/orders/view_order/$1">view</a>', 'ORDERS.ID');
I'm needing to add ORDERS.PATIENTID to it as well.
This discussion has been closed.