I have this code in my page1.php which passes 2 variables.(im using pdo btw)
<a type="button" href="PT-ContractsInfo.php?id=<?php echo $pt['TL_Code']?>&client=<?php echo $pt['CLIENT_ID']?>" class="btn bg-green" >View</a>
...And my code for page2.php
<?php
$id = $_GET['id'];
$client = $_GET['client'];
<?
But it outputs an error "Undefined index: client"... Is there something wrong with the codes?Ty