how to get value

how to get value

bozartbozart Posts: 2Questions: 1Answers: 0

hello! can anyone help on how can i get the value in the address

while( $row=mysqli_fetch_array($query) ) {
$nestedData=array();
$image_location = '../'.$row["client_photo"];
$nestedData[] = $row["client_id"];
$nestedData[] = "<img src=".$image_location." class='img-circle img-responsive' width='30%'/>";
$nestedData[] = $row["client_lastname"];
$nestedData[] = $row["client_firstname"];
$nestedData[] = $row["client_middlename"];
**$client_link = 'admin_branchupdate.php?clientid='.$row["client_id"].'&branchid='$_GET["branchid"]; **
$nestedData[] = "<a href='$client_link' >Choose</a>";
$data[] = $nestedData;

}
its show no data

Answers

  • allanallan Posts: 63,352Questions: 1Answers: 10,444 Site admin

    What value in what address? I'm afraid I don't understand the question and it looks like more of a PHP issue. You have a syntax error just before $_GET["branchid"] for example. SO is better for general programming questions.

    Allan

  • bozartbozart Posts: 2Questions: 1Answers: 0

    it has a error in $_GET statement. I think because the process it only perform are request and post. is there anyway on how i could get the whole URL? thanks in advance

  • allanallan Posts: 63,352Questions: 1Answers: 10,444 Site admin

    is there anyway on how i could get the whole URL?

    That's definitely a question for StackOverflow and outside the scope of DataTables. I would suggest you look into PHP's documentation for their $_SERVER array.

    Allan

This discussion has been closed.