how to get value
how to get value
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
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
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
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