PHP Classes


Recommend this page to a friend!

      Eyesis Data Grid Control  >  All threads  >  $_GET['id']  >  (Un) Subscribe thread alerts  
Summary:Trying to grad the id
Author:Danny Kelly
Date:2011-07-18 20:43:11

  1. $_GET['id']   Reply   Report abuse  
Picture of Danny Kelly Danny Kelly - 2011-07-18 20:43:17
Eyesis Data Grid

Any one know how to grab the id for a a href? Here is what I'm trying to do. Notice the var $id. What would I replace that with so that I can pass the id?

case self::STDCTRL_VIEW:
$this->controls[] = '<a onclick="part2();" href="#&id='.$id.'";><img src="' . $this->image_path . $this->img_view . '" alt="View" title="View" class="tbl-control-image"></a>';