Ok i have this code that works:
echo '<input name="edit'.$i.'" type="submit" value="Edit" />';
$edit_button="edit".$i;
if (isset($_POST[$edit_button]))
But now I’m using a admin template/css with a css class that I want to use and it only works with links or the <a> tag. How can I transform the above code to work with this:
echo '<a href="" title="Edit" class="icon-1 info-tooltip"></a>';
Basically I want to see if the link was clicked but refresh to the same page, I think I can do this with $_GET but I’m not sure how, any advice?
I think this should work 😉