te falta cerrar el if con las llaves {}
Código PHP:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<form action="../../Users/Oliver/Desktop/intentos php/insert.php" method="post">
<b>Formulario de registro de Cliente</b> <br><br>
Primer nombre: <input type="text" name="nombre"><br>
Primer apellido: <input type="text" name="apellido"><br>
RUT: <input type="text" name="rut_c"><br>
Calle y número: <input type="text" name="calle_nro"><br>
Comuna: <input type="text" name="comuna"><br>
Región: <input type="text" name="region"><br>
<input type="submit" value="Registrar">
</form>
<?php
if(isset($_POST['nombre'])){
$host="localhost";
$username="root";
$password="cocodrilo";
$db="omohr4";
$nombre=$_POST['nombre'];
$apellido=$_POST['apellido'];
$rut_c=$_POST['rut_c'];
$calle_nro=$_POST['calle_nro'];
$comuna=$_POST['comuna'];
$region=$_POST['region'];
$query="SELECT rut_c, fecha, id_orden_pedido
FROM orden_pedido";
$query2 = "INSERT INTO `empleado` (`rut_c`, `nombre`, `apellido`, `calle_nro`, `comuna`, `region`) VALUES ('$rut_c','$nombre','$apellido','$calle_nro','$comuna','$region')";
echo "Historial de ordenes de pedido hechas por clientes:";
}
?>