Replacing a button with a link

rainman

New Member
Ok i have this code that works:\[code\]echo '<input name="edit'.$i.'" type="submit" value="http://stackoverflow.com/questions/10563858/Edit" />';$edit_button="edit".$i;if (isset($_POST[$edit_button]))\[/code\]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 \[code\]<a>\[/code\] tag. How can I transform the above code to work with this:\[code\]echo '<a href="" title="Edit" class="icon-1 info-tooltip"></a>';\[/code\]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?
 
Back
Top