Exemplo n.º 1
0
								<label>Asunto</label>
								<input type="text" name="asunto" class="span6" id="asunto" required /><br/>
								<label>Redactar</label>
								<br>
								<div class="elementFormP_Editor">
									<textarea class="ckeditor" cols="80" id="editor1" name="cuerpoForm" rows="10"></textarea>
									<script>
										// Replace the <textarea id="editor1"> with a CKEditor
										// instance, using default configuration.
										CKEDITOR.replace( 'editor1' );
									</script>
								</div>
								<div class="col-md-7">
								
								<?php 
$lp = $msg->obtenerReceptores($_SESSION['idUsuario']);
//									var_dump($lp);
$res = mysqli_num_rows($lp);
//exit();
if ($res != 0) {
    //									var_dump(mysqli_fetch_row($lp));
    echo '<br/><br/>';
    echo 'Destinatario <select id="dest" name="dest"><option>Seleccione destinatario</option>';
    while ($row = mysqli_fetch_array($lp)) {
        var_dump($row);
        ?>
													<option title="<?php 
        echo $row["mail"];
        ?>
" value="<?php 
        echo $row["id"];