📜  单击php代码示例后新页面中的MySQL表

📅  最后修改于: 2022-03-11 14:54:51.384000             🧑  作者: Mango

代码示例1
$result = mysqli_query($conn,"SELECT * FROM job ORDER BY `CreatedTime` DESC");


echo "";


while($row = mysqli_fetch_array($result) ) {
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";

echo "";
}



And in job_details.php fetch the details against the id and display the result on that page.

jobdetails.php :

';
   echo 'Company Name: '.$jobdetails['companyname'].'
'; echo 'Location: '.$jobdetails['location'].'
'; echo 'Closing Date: '.$jobdetails['closingdate'].'
'; ?>
Job Title Company Name Location Closing Date View Job
" . $row['positiontitle'] . "" . $row['companyname'] . "" . $row['location'] . "" . $row['closingdate'] . "View Job