daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $menulist=array();
  2.  
  3. $menulist[1]='file1%#16';
  4.  
  5. $menulist[2]='file2%#9';
  6.  
  7. $menulist[3]='file3%#19';
  8.  
  9. $menulist[4]='file4%#8';
  10.  
  11. $menulist[5]='file5%#13';
  12.  
  13. $menulist[6]='file6%#14';
  14.  
  15. $menulist[7]='file7%#10';
  16.  
  17. $menulist[8]='file8%#23';
  18.  
  19. $menulist[9]='file9%#19';
  20.  
  21. $menulist[10]='file10%#18';
  22.  
  23. $menulist[11]='file11%#12';
  24.  
  25. function actualizaciones($matriz)
  26.  
  27. {
  28.  
  29. $linea=explode("%#",$matriz);
  30.  
  31. echo '<li><a href="first_chunk_of_URL'.$linea[0].'middle_chunk_of_url'.$linea[1].'last_chunk_of_URL">'.${$linea[0]}[$linea[1]].'</li>;
  32.  
  33. }
  34.  
  35. echo '<ul>';
  36.  
  37. array_walk($menulist,'actualizaciones');
  38.  
  39. echo '</ul>';`
  40.    
  41. echo '<li><a href="first_chunk_of_URL'.$linea[0].'middle_chunk_of_url'.$linea[1].'last_chunk_of_URL">'.${$linea[0]}[$linea[1]].'<li>';
  42.    
  43. .'</li>;
  44.  
  45.          ^^^^^
  46.  
  47.         here is the problem it should be
  48.  
  49. .'</li>';
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top