PHP Pagination with Bootstrap

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 39

  • @clevertechie
    @clevertechie  7 лет назад +4

    Would be nice to hear feedback from the person who disliked this video so I can improve future videos, let me know if you reading this :)

    • @Dexter101x
      @Dexter101x 7 лет назад

      You will always get pro troll downvoters all over the place

    • @clevertechie
      @clevertechie  7 лет назад +1

      LOL I think you're right, there actually might be a "midnight troll down voter". For the first time I decided to publish this video exactly at midnight, and a few minutes after publishing I already had that dislike....

  • @bhaskarjyotideka6905
    @bhaskarjyotideka6905 Год назад

    Searched yt for almost 1hour on how to create links. This video is the exact solution to the problem that I was facing. Now, it is solved. Thank you.

  • @CorreaLobo
    @CorreaLobo 2 года назад

    I like how your explaining the variables with the mechanics. sorry love it... thank you for taking your time to make this content, I appreciate your hard work!

  • @CoolBuys-ik9eo
    @CoolBuys-ik9eo Год назад

    I'm getting overlapping text when I use this to make it mobile friendly: . Please help me fix the CSS.
    body {
    background: #1f2739;
    color: #fff;
    font-family: "Arial";
    font-size: 14px;
    }
    img {
    border: 0;
    padding: 0;
    margin: 0;
    }
    #main-container {
    padding: 20px;
    }
    .movie-container {
    min-height: 200px;
    background: #2c3446;
    margin-top: 20px;
    }
    .left-column {
    width: 88px;
    float: left;
    }
    .right-column {
    margin-left: 88px;
    padding: 20px;
    }
    .header {
    background: #363e4f;
    padding: 15px;
    }
    h1 {
    color: #fb667a;
    font-size: 18px;
    font-weight: bold;
    display: inline;
    }
    .year {
    color: #fff;
    font-size: 18px;
    }
    .content {
    background: #2c3446;
    }
    .content.description {
    color: #9d99a7;
    height: 85px;
    margin-top: 15px;
    }
    .content.text {
    color: #9d99a7;
    }
    .content.blue {
    color: #4dc3fa;
    }
    .content.yellow {
    color: #fff842;
    }
    .content.green {
    color: #7ffc62;
    }
    a {
    text-decoration: none;
    color: #9d99a7;
    }
    #ratings {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 38px;
    color: #000;
    width: 87px;
    }
    .imdb {
    background: #f2cc70;
    }
    .metascore {
    background: #61c74f;
    }
    .bottom {
    margin-top: 15px;
    }
    Thanks

  • @qub_global
    @qub_global 7 лет назад +1

    Огромное спасибо, Clever Techie! Наконец получилось релизовать пагинацию на сайте.
    Thanks a lot, Clever Techie! Finally got to realize pagination.
    Subscribed.
    Hello from Latvia. :))

    • @clevertechie
      @clevertechie  7 лет назад

      Рад помочь братан :)

  •  6 лет назад

    Dude nice video. the best video about pagination with php so far on youtube. Congrats

  • @williamjayinclino5936
    @williamjayinclino5936 6 лет назад +1

    thank you for sharing your knowledge. You help me alot! You will be part in my speech during graduation :D

  • @Taki7o7
    @Taki7o7 6 лет назад

    when the query outputs 0 rows you can click through emtpy pages, since the next page button isn't blocked then ^^
    When adding the option to show only online users for example, when there is nobody online then.

  • @Kigris
    @Kigris 6 лет назад +1

    Hello! I'm a newbie in PHP, so my question is: Why do you store the _ variables ($_page, $_query,$_total,etc) like $page, $query, $total, etc? Why can't you use them directly? Thanks!

  • @swathikc8082
    @swathikc8082 6 лет назад +1

    Can you please share the source code? I am not able to access it.

  • @Taki7o7
    @Taki7o7 6 лет назад

    Thank ypu very much for this class. Was exactly what i was searching for. I just added a goto dropdown which also checks for max and min page. Happy new Year

  • @suhrabahdi1222
    @suhrabahdi1222 7 лет назад +1

    I really appreciate you! you are the best...

  • @ifrashable
    @ifrashable 6 лет назад

    very good logic explanation and presentation,,

  • @vindesign999
    @vindesign999 6 лет назад

    if no result to show its echoing this::::::::::Notice: Undefined variable: results in G:\xampp\htdocs\matrimony\includes\classes\Paginator.php on line 64
    Warning: count(): Parameter must be an array or an object that implements Countable in G:\xampp\htdocs\matrimony\list.php on line 263

  • @FreAkGaMer07
    @FreAkGaMer07 6 лет назад

    Thank you sir....
    Its working fine

  • @antwarior
    @antwarior 4 года назад

    man how did you get the css up like how you did, thats exactly what im looking for, how did you get the content to show up in those display boxes

    • @Nerwesta
      @Nerwesta 4 года назад

      he is using bootstrap, please refer to it's documentation it's very useful.

  • @rafaelafrico
    @rafaelafrico 6 лет назад

    Hi, very good tutorial. Congratulations!

  • @iAndrewMontanai
    @iAndrewMontanai 5 лет назад +1

    Amazing tutorial

  • @Asimov16
    @Asimov16 6 лет назад

    I think you should pass your query into your class, otherwise the class can only be used for one query. I use a pagination function rather than a class, and I pass in my query and number of pages rather than having them in the function. It then makes your function or class more useable for different datasets.

  • @AngelicaRamirez-ye7tu
    @AngelicaRamirez-ye7tu 7 лет назад

    Thanks a lot! You're a life saver :D

  • @novatech9832
    @novatech9832 7 лет назад

    hey celver techie, thanks for the video tutorial, i'd like to modify the pagination links by my own e.g. to make the numbers red how can i do it?

    • @MohamedZalahi
      @MohamedZalahi 6 лет назад

      add css style to pagination > page-item > page-link {color: red}

  • @erwingiron4412
    @erwingiron4412 5 лет назад

    is this responsive? thanks

  • @adilismail3593
    @adilismail3593 5 лет назад

    serously need to pay to unlock the files ??

  • @handsomeman5098
    @handsomeman5098 3 года назад

    great job... it hepls me

  • @aashinsood8045
    @aashinsood8045 2 года назад

    where can i get this code

  • @avertry9529
    @avertry9529 5 лет назад

    thanks.
    FYI: it's queer-re or kweery Not Cure-re -y as your inquiring an answer or questioning.

  • @matiullahkhan1657
    @matiullahkhan1657 5 лет назад

    can i have source code?

  • @sethtaylor7519
    @sethtaylor7519 6 лет назад

    Madam Query! :P

    • @pkateel
      @pkateel 3 года назад

      ruclips.net/video/f1y9IZVoau8/видео.html