hi all,

i tried to make a link and attatch a id of a record from table in db as a query string but i found it like 0=0...?


while ($obj = db_fetch_object($sql))
  {
    $options = array(
      'query' => array('id'/$obj->id),
      
    );

    $form['request'][]=array(     
    '#value' => l($obj->v_date,'http://localhost/drupal?q=request/pending',$options),
  );
  
  }

thanks for advance

Comments

amira’s picture

i changed little on it and i get
& 0=vid/1

what is "0"..?

 $options = array(
      'query' => array('vid/'.$obj->id),
      
    );