Quantcast
Viewing all articles
Browse latest Browse all 82150

How to insert a string before data in field

Fisrt excuse me for my use of english.

I have a DataTable with (n) columns, the last two of it are for edit/delete button action columns. The cell format for that columns would be like:

<a href=”controller/delete/$data”> $data (from database)</a>

For example:

<a href=”controller/delete/id5>id5</a>
for delete action.

How can I agree a variable string and the data from database?
I know how to put a string (with mData) and a data separately, but not together.

Thanks a lot.

Viewing all articles
Browse latest Browse all 82150

Trending Articles