来自两个值的get方法只发送一个

I am trying to pass two values from one page to another page by URL re-writing but only one (Status) value is being sent. I am having difficulty in sending the second one (PropertyID). Please have a look at the code snippet below and suggest where am I going wrong.

Code:

<?php
    echo "<a href='activate.php?Status=Inactive&PropertyID='".$row['PropertyID']."''>Send Values</a>";
?>

This is because you are breaking the URL by closing the href to early.

It will work if you use:

echo "<a href='activate.php?Status=Inactive&PropertyID=".$row['PropertyID']."'>Send Values</a>";

modify of your url

echo "Send Values";

second way

?> & status=Inactive">Send Values

it should be like this,

<?php
echo "<a href='activate.php?Status=Inactive&PropertyID=".$row['PropertyID']."'>Send Values</a>";

?>

Or you can also write it as below

echo "<a href='activate.php?Status=Inactive&PropertyID={$row['PropertyID']}'>Send Values</a>";