Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/02/2009, 16:31
Avatar de SirDuque
SirDuque
 
Fecha de Ingreso: febrero-2009
Ubicación: Paso del Rey, Buenos Aires, Argentina
Mensajes: 975
Antigüedad: 16 años
Puntos: 89
Respuesta: No se Diseñar Texto en PHP (enviar formulario)

Cita:
Iniciado por doylelives Ver Mensaje
Bueno para enviar con formato html en el header tendria que ir:
$headers = "From: $_SESSION[emaill]\nTo: $to\nCc: $_SESSION[email]\nReply-To: $_SESSION[email]\n"."MIME-Version: 1.0\r\n"."Content-type: text/html; charset=iso-8859-1\r\n";

luego en $mailtxt utiliza los tags html para crear una tabla como la que tu deseas.
Osea si no mal interpretoseria algo haci:

Código PHP:
$mailtxt .="Lenguaje HTML"
Por si las mosca ejemplifico con una tabla adentro:

Código PHP:
$mailtxt .="<body>
<table width="
750" border="2" cellspacing="2" cellpadding="1">
  <tr>
    <td>Nombre: $_GET[f_name]</td>
    <td>Telefono: $_GET[f_phone]</td>
    <td>email: $_GET[f_email]</td>
    <td>ETC.-</td>
    <td>ETC.-</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>"

ESTO:
Cita:
<td>Nombre: $_GET[f_name]</td>
<td>Telefono: $_GET[f_phone]</td>
<td>email: $_GET[f_email]</td>
Dentro del archivo php en la funcion $mailtxt funciona???

No esto no funka..-!

alguien me explica por favor :D

Última edición por SirDuque; 13/02/2009 a las 06:49 Razón: El ejemplo que puse, no me funka me sale error online 21 y 43.