include("settings.php"); $sql_select_project_query = "SELECT * FROM `projects` WHERE `id`='" . $_GET['id'] . "'"; $sql_select_project_result = mysql_query($sql_select_project_query); while($row = mysql_fetch_array($sql_select_project_result)) { $project_id = $row["id"]; $project_title = $row["project_title"]; $project_display_image = $row["project_display_image"]; $project_client_id = $row["project_client_id"]; $project_contractor_id = $row["project_contractor_id"]; $project_completion_date = $row["project_completion_date"]; $project_details = $row["project_details"]; $project_link = $row["project_link"]; $project_window_settings = $row["project_window_settings"]; $project_category = $row["project_category"]; $project_displayable = $row["displayable"]; } if($project_displayable=="No"){ header("Location: index.php"); } ?>
$project_completion_date
echo"$project_details
"; ?>