If you want the variables to be available in the URL, you need to read them with $_GET.
URL-, index.php?id=1&job_number_id=3, :
if (isset($_GET['id']) && isset($_GET['job_number_id'])) {
$id = $_GET['id'];
$job_number_id = $_GET['job_number_id'];
}
foreach:
<?php foreach ($allJobs as $site_title) : ?>
<p>
<tr><?php
$url = "http://localhost/estimate_lar/homepage.php?id=" . $site_title['id'] . "&job_number_id=" . $site_title['job_number_id'];
echo '<a href="'.$url.'">'.$site_title['client_job_name'],$site_title['job_number_id']. '<br />'.'</a>';
?>
<td></td>
</tr>
</p>
<?php endforeach; ?>
, SQL- , . - .
script , URL- .
, !