monterrrubio

formNotes

May 20th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1.    <?php if (isset($_SESSION['notes_title'])) { ?>
  2.         <b>Notes Link:</b>
  3.         <ul>
  4.         <form name="notas_compartidas" action="index.php?action=listar"  method="post">
  5.             <?php foreach (array_combine($_SESSION['notes_title'], $_SESSION['notes_guid']) as $title => $guid) { ?>
  6.                 <li>
  7.                     <?php echo "<input type='checkbox' name=".$guid.">".$title; ?>
  8.                 </li>
  9.             <?php } ?>
  10.             <input type='submit'>   <?php } ?>
  11.         </form>
  12.         </ul>
  13.    <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment