monterrrubio

Untitled

May 20th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (!empty($_POST)) {
  2.     foreach ($_POST as $guid => $status) {
  3.         $sharedUrl[$guid] = shareSingleNote($guid);
  4.      }
  5.     $_SESSION['sharedUrls'] = $sharedUrl;
  6. }
  7. $links = $_SESSION['sharedUrls'];
  8.         foreach (array_combine($_SESSION['notes_title'], $_SESSION['notes_guid']) as $title => $guid){
  9.             if (!empty($links[$guid])){
  10.                 echo $title.": <a href='".$links[$guid]."'>".$links[$guid]."</a></br><br>";
  11.         }
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment