Skip to content

Instantly share code, notes, and snippets.

<?php
$id="1";
$fecha = "29/12/2002";
$cliente = "Carlitos Bala";
$para = "Ernesto Sabato";
$concepto = " ... con cariño de carlitos .. una aspiradora";
$responsable = "Carlos Flavio Jacinto Bala";
$link = "http://www.poringa.net";
// Lee la plantilla
$plantilla = file_get_contents('plantilla.rtf');
<?php
$fecha = $_POST['fecha'];
$hora = $_POST['hora'];
$nombre = $_POST['nombre'];
$apellido = $_POST['apellido'];
$conexion = mysql_connect("localhost","user","pass");