Ver Mensaje Individual
  #6 (permalink)  
Antiguo 29/10/2012, 11:20
Avatar de rodrigo791
rodrigo791
 
Fecha de Ingreso: noviembre-2009
Ubicación: Uruguay
Mensajes: 1.339
Antigüedad: 14 años, 5 meses
Puntos: 168
Respuesta: casi funcionando, una ayudita por favor

Código PHP:
Ver original
  1. <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  2. <html xmlns='http://www.w3.org/1999/xhtml'>
  3.     <head>
  4.         <title>Send Email</title>
  5.         <link  rel='stylesheet' type='text/css' href='css/estilo.css' />
  6.         <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
  7.         <script language='javascript' type='text/javascript'  src='scripts/tiny_mce.js'></script>
  8.         <script language='javascript' type='text/javascript'>
  9.         tinyMCE.init({
  10.             mode : 'textareas',
  11.             theme : 'advanced',
  12.             theme_advanced_buttons1 : 'bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink',
  13.             theme_advanced_buttons2 : '',
  14.             theme_advanced_buttons3 : '',
  15.             theme_advanced_toolbar_location : 'top',
  16.             theme_advanced_toolbar_align : 'left',
  17.             theme_advanced_path_location : 'bottom',
  18.             extended_valid_elements : 'a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]'
  19.         });
  20.     </script>
  21.     <script>
  22.     function irA(url){
  23.     location.href = url;
  24.     }
  25.     </script>
  26.         <script type=\"text/javascript\">
  27.       function posicion(){
  28.         moveTo(0,0);
  29.         ancho_popup=870;
  30.         alto_popup=730;
  31.         x=(screen.width-ancho_popup)/2;
  32.         moveTo(x,0);
  33.         y=(screen.height-alto_popup)/2;
  34.         moveTo(x,y);
  35.       }
  36.     </script>
  37.     </head>
  38.  
  39.     <body onload=\"posicion();\">
  40.     <form action='enviaremail.php' enctype='multipart/form-data' method='post' name='form1'>
  41.           <div id='menu_mail'>
  42.             <div id='send'>
  43.               <input name='submit' type='image' id='boton' src='images/sendmail.png' alt='send mail' />
  44.             </div>  
  45.             <div id='imgattch'>
  46.               <input name='archivo' type='file' id='archivo' alt='Attach file'/>
  47.             </div>      
  48.           </div>    
  49.     <table id='correo' border=0>
  50.         <tr>
  51.           <td><label>Sender:<td> Carfreight INC.</td></label><br /></td>
  52.         </tr>
  53.     <tr>
  54. <?php
  55.  
  56. if(isset($_POST['select']))
  57.     {
  58.       $seleccion=$_POST['select'];
  59.       foreach($seleccion as $indice => $valor)
  60.       {
  61.       print $valor;
  62.      
  63. echo "<td><label>E-mail List:</label></td><td><input name='email' id='email' type='text' value='".$valor."' size='80px'></td> (aqui necesito que me aparezcan todos los email que he seleccionado, pero solo me muestra el último de la lista)";
  64.       }
  65.     }
  66.     ?>
  67. </tr>
  68. <tr>
  69. <td><label>Subjet:</label></td><td><input type='text' name='asunto' size='80px' value='Cotización de Transporte'/></td><br />
  70. </tr>
  71. </table>
  72. <table border=0>

tal vez algo así.
Acordate que no tenes que mostrar todo el html con php.
Lo hice así nomas, puede que tenga algun error.