Hi

how would I add an edit icon to final row in my table please

I am looping through my returned database records as follows

foreach ($r as $row) {

    $rows[] = array(
        $row->member_name,
        $row->email_address,
        $row->role,
        check_markup($row->notes, 'line_breaks'),
    );
 

Comments

gibbo1715’s picture

Figured this out, the row doesn't need to be a database row and I can add my own $row->edit = 'edit',

Just need to make sure I make space in the title

Just incase others get stuck on the same thing