[eluser]praveena[/eluser]
ya i was able to pass the I assigned to the variable but I was not able to assign the variable to the query
$query=$this->db->query('SELECT comnyname,address1,address2,city,province,country,postal_code,phone,fax,emailid,overview,solutions,
date FROM master WHERE user_id='.$userid1);
.$userid1 this is session id