Question: I have successfuly searched my DB table for what i want and passed it into a DataTable (dt).
The idea is that i want (after the search) to redirect someone to the result page he likes.

So if he Searches for example "Michael" , i'd like to show him , the name Michael as a link , and if he presses it redirect him to his page, which is made by ~/Default.aspx?Email="+ id (id also results after the search and is casted to string).

My Code: 

```
protected void Button1_Click1(object sender, EventArgs e)
        {

            DataTable PassRecord = new DataTable();

            String str = "select First_Name,Surname,id from ID where (First_Name like '%'+ @search +'%' ) OR (Surname like '%'+ @search +'%') OR (Email_Account like '%'+ @search +'%')";

            SqlCommand Srch = new SqlCommand(str, con);
            Srch.Parameters.Add("@search", SqlDbType.NVarChar).Value = TextBox1.Text;

            con.Open();
            Srch.ExecuteNonQuery();
            SqlDataAdapter da = new SqlDataAdapter();
            da.SelectCommand = Srch;

            DataTable dt = new DataTable();
            DataSet ds = new DataSet();
            da.Fill(dt);

            foreach (DataRow dr in dt.Rows)
            {

                var field = dr["First_Name"].ToString();
                Response.Write(field);
                Response.Write("<br/>");
            }

```

As u understand i want to create a link redirecting to the users profile after the search.

Any help is appreciated,
Thanks in Advance !!!

Michael.

Answer: 
The [sourceforge version](http://phpqrcode.sourceforge.net/docs/html/class_q_rcode.html#a1b90c0989105afa06b6e1c718a454fb5) of the method looks like the following:

```
static QRcode::png  (
    $text,
    $outfile = false,
    $level = QR_ECLEVEL_L,
    $size = 3,
    $margin = 4,
    $saveandprint = false 
)   

```

and does not include any colours. You seem to be looking for the [**GitHub version instead**](https://github.com/t0k4rt/phpqrcode), that [defines the method](https://github.com/t0k4rt/phpqrcode/blob/master/phpqrcode.php#L3117-L3121) as the following:

```
public static function png(
    $text, 
    $outfile = false, 
    $level = QR_ECLEVEL_L, 
    $size = 3, 
    $margin = 4, 
    $saveandprint=false, 
    $back_color = 0xFFFFFF, 
    $fore_color = 0x000000
) {

```

(*Psst, the article you read also mentions it: "Start by downloading the latest PHP QR Code library **from GitHub**", and it also includes a link to the [GitHub project](https://github.com/t0k4rt/phpqrcode)*)
In the `qrimage.php` file try to change `$col[0]` and `$col[1]` values and see the difference, good luck.