Language:

[insert_php]
include (“conexion.php”);
?>
[/insert_php]
[insert_php]
//———————establecemos conexion con la base de deatos para hacer sentencia segun variables seleccionadas —————–
//include(“conexion.php”)
//$resultado = mysql_query(“SELECT distinct precio FROM entransfers WHERE tabla HAVING origen destino personas “);
//$consulta = “SELECT distinct precio FROM entransfers WHERE tabla HAVING origen destino personas”;
//$resultado = ( $consulta );
//foreach ($resultado as $fila):
//echo $fila->columna;
//endforeach;
//———————recuperamos las variables de los transfers——————–
echo “The price departing from “;
echo $_POST[‘origen’];
//——————————————-
//echo ‘

‘;
echo ” destined “;
echo $_POST[‘destino’];
//——————————————-
//echo ‘

‘;
echo ” for a group of 2 people “;
echo $_POST[‘personas’];
//——————————————-
//echo ‘

‘;
echo ” has the price of”;
echo $_POST[‘precio’];
//echo $resultado = mysql_query(“SELECT precio FROM entransfers WHERE origen=$origen destino=$destino personas=$presonas”)”;
//$consulta = “SELECT precio FROM entransfers WHERE origen=$origen destino=$destino personas=$presonas)”;
//echo “Precios: “;
//echo ‘‘;
mysql_free_result($resultado);
//echo ‘

‘;

//——————————————-
//echo ‘‘;
//——————————————-
//echo ‘

‘;
echo ” for the next date: “;
echo $_POST[‘fecha’];
//——————————————-
//echo ‘

‘;
echo ” We will contact you by email that you have provided: “;
echo $_POST[’email’];
[/insert_php]