I am trying to return a link with an onclick function but I think I am getting my quotations confused because the link wont work.
here is the code:
return "<a class='link_to_member' onClick='window.location.href='page_detail.php?page=$item_id';'>$item_name</a>";