PoisonCode

bbb.com.pa

Feb 13th, 2013
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. | __ \ / ____| (_) |
  2. | |__) | (___ ___ ___ _ _ _ __ _| |_ _ _
  3. | ___/ \___ \ / _ \/ __| | | | '__| | __| | | |
  4. | | ____) | __/ (__| |_| | | | | |_| |_| |
  5. |_| |_____/ \___|\___|\__,_|_| |_|\__|\__, |
  6. __/ |
  7. |___/
  8.  
  9. Greetz: @D4rk_Floyd @Ops507 @AnonOpsPanama @Absoluto507
  10.  
  11.  
  12. Follow Me: @PoisonCode
  13.  
  14. <?php
  15. $host="localhost";
  16. $user="bbbuser_bd";
  17. $db="bbbuser_site";
  18. $pass="BBB_Us3r09";
  19.  
  20.  
  21. $con=mysql_connect($host, $user, $pass);
  22. if(!con)
  23. {
  24. die('Connectio erro'. mysql_error());
  25. }
  26. mysql_select_db($db, $con);
  27.  
  28. $pagina = $_GET["pagina"];
  29. $registros = 12;
  30.  
  31. if (!$pagina) {
  32. $inicio = 0;
  33. $pagina = 1;
  34. }
  35. else {
  36. $inicio = ($pagina - 1) * $registros;
  37. }
  38.  
  39.  
  40. ?>
Advertisement
Add Comment
Please, Sign In to add comment