Ver Mensaje Individual
  #6 (permalink)  
Antiguo 09/02/2006, 12:14
Avatar de calavera
calavera
 
Fecha de Ingreso: diciembre-2005
Mensajes: 113
Antigüedad: 18 años, 3 meses
Puntos: 0
Anexo el ressto

FuncionariosProcesar
Código PHP:
<?php 
   
include("conex.php"); 
   
$link=Conectarse(); 
   
   
$Rut_Asignado=$_POST['Funcionarios'];
   
$Prioridad=$_POST['Prioridad'];
   
$Estado=$_POST['Estado']; 
   
$Sistema=$_POST['Sistema'];
   
$Categoria=$_POST['Categoria'];
   
$Descripcion=$_POST['Descripcion'];
   
$Error=$_POST['Error'];
   

   
mysql_query("INSERT INTO Problemas ( Rut_Asignado, Prioridad, Estado, Sistema, Categoria, Descripcion, Error)
          values ('$Rut_Asignado', '$Prioridad', '$Estado', '$Sistema', '$Categoria', '$Descripcion', '$Error')"
,$link); 
    


  
header('Location: Problemas.php');
     
   
?>

Código PHP:
Correo.php
<table width="650" border="0" cellpadding="0" cellspacing="0">
  <!--
DWLayoutTable-->
  <
form name="form2" method="post" action="CorreoProcesar.php">
    
   
      <
td valign="top"><strong>Para:</strong></td>
      <
td colspan="2" rowspan="3" valign="top"> <input name="Para" type="text" id="Para" onBlur="MM_validateForm('Para','','RisEmail');return document.MM_returnValue" size="50" maxlength="30"
     
      
      <
td rowspan="2" valign="top"><strong>De:</strong></td>
     
      <
td colspan="2" rowspan="3" valign="top"> <input name="De" type="text" id="De" onBlur="MM_validateForm('De','','RisEmail');return document.MM_returnValue" size="50" maxlength="30"
      
      <
td height="1"></td>
      <
td rowspan="2" valign="top"><strong>Asunto:</strong></td>
      <
td></td>
    </
tr>
    <
tr
      <
td height="16"></td>
      <
td colspan="2" rowspan="2" valign="top"> <input name="Asunto" type="text" id="Asunto" onBlur="MM_validateForm('Asunto','','R');return document.MM_returnValue" size="50" maxlength="60"
      </
td>
 
    </
tr>
    <
tr
      <
td height="1"></td>
      <
td rowspan="2" valign="top"><p><strong>Mensaje:</strong></p></td>
  
    </
tr>
    <
tr
      <
td height="11"></td>
      <
td colspan="2" rowspan="3" valign="top"> <textarea name="Mensaje" cols="70" rows="10" id="Mensaje" onChange="MM_validateForm('Mensaje','','R');return document.MM_returnValue"></textarea
      </
td>
      <
td></td>
    </
tr>
    <
tr
      <
td height="12"></td>
      <
td valign="top"><font color="#FF0000"><strong>Claro</strong></font></td>
      
   
    
      <
td valign="top"> <input name="Enviar" type="submit" id="Enviar" onClick="MM_validateForm('Para','','RisEmail','De','','RisEmail','Asunto','','R','Mensaje','','R');return document.MM_returnValue" value="Enviar"
      </
td>
     
      </
form>
</
table
correoPorocesar.php
Código PHP:
<?php 
   
include("conex.php"); 
   
$link=Conectarse(); 
   


   
$Id_Correo=$_POST['Id_Correo'];
   
$Para=$_POST['Para']; 
   
$De=$_POST['De'];
   
$Asunto=$_POST['Asunto'];
   
$Mensaje=$_POST['Mensaje'];


   
mysql_query("INSERT INTO Correo ( Para, De, Asunto, Mensaje)
          values ('$Para', '$De', '$Asunto', '$Mensaje')"
,$link); 
    


  
header('Location: Correo.php');
     
   
?>