Datos

Páginas: 5 (1146 palabras) Publicado: 30 de agosto de 2012
<!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>Documento sin título</title>
<style type="text/css">
body,td,th {
color: #FFF;
}
body {background-color: #000;
}
</style>
</head>

<body>
<?php
include ('config.php');
if (isset($_POST['guardar'])){

foreach($_POST as $key => $value) {$_POST[$key] = mysql_real_escape_string($value);

}

$sql= "INSERT INTO factura( nombre, direccion, telefono, rfc, email, total) values ('{$_POST['nombre']}', '{$_POST['direc']}', '{$_POST['telefono']}','{$_POST['rfc']}', '{$_POST['email']}', '$luis')";

mysql_query($sql) or die ($mysql_error());

echo "registro agregado.<br/>";
echo "<a href='Bienvenido.php'> Inicio </a>";
}
?>
<?php
include ('config.php');
$total = 0;
if (isset($_GET['fol']))
{
$folio = $_GET['fol'];
}
?>
<form id="form1" name="form1" method="post" action=""><center>
<p>  </p>
<table width="100%" border="0">
<tr>
<td width="15%" rowspan="2"> </td>
<td width="70%" height="92"><i><u>
<center h1>
<h1> Factura Electronica</h1>
</center>
</u></i></td><td width="15%" rowspan="2"> </td>
</tr>
<tr>
<td height="151">EHONSTORE Direccion: Av. 5 de Mayo No.9 Santiago Tianguistenco Estado. de Mexico. Teléfono: 7131091788 RFC:EHS12605SKH53</td>
</tr>
</table>
<table width="100%" border="1">
<tr>
<tdcolspan="4"><center>
<h1> Datos del Cliente
</h1>
</center></td>
</tr>
<tr>
<td colspan="4">Nombre:
<label for="nombre"></label>
<input type="text" name="nombre" id="nombre" />
Direccion:
<label for="direc"></label><input type="text" name="direc" id="direc" />
Telefono:
<label for="telefono2"></label>
<input type="text" name="telefono" id="telefono2" />
RFC:
<label for="rfc2"></label>
<input type="text" name="rfc" id="rfc2" /></td>
</tr>
<tr>
<td colspan="4"><p><label for="rfc3"></label>

Email:
<label for="email3"></label>
<input type="text" name="email" id="email3" />
SUS DATOS SERAN VERIFICADOS SEGUN LOS TERMINOS DE ESTA TIENDA</p></td>
</tr>
<tr>
<td width="50%"> </td>
<tdwidth="25%"> </td>
<td width="25%" colspan="2"> </td>
</tr>
<tr>
<td>No. Factura:

<label for="nofactu"></label></td>
<td>Fecha:
<?
echo date ( "Y-m-d G:i" );

?>
<td colspan="2"> </td></tr>
</table>
<table width="100%" height="499" border="1">
<tr>
<td width="7%" height="54"><center>
Cantidad
</center></td>
<td width="64%"><center>
Descripcion
</center></td>
<td width="13%"><center>
Precion Unitario...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Los datos
  • Datos
  • Datos
  • Datos
  • datos
  • Datos
  • datos
  • Datos

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS