Mide70: China is not really feeling the heat of the tariffs but US does! Most electronic devices comes from china . Asides that China is no small country ! in terms of Technology and many things US is behind china . I knew all these Trump initial gragra on trade war is for a while !
God1000: This is horrifying on every level. A woman verbally attacks a child with a racial slur and instead of facing consequences, she’s being rewarded with hundreds of thousands of dollars? This isn’t just about one person’s hate; it’s about a society that enables and even funds it. Very sickening and disgusting behavior
My fellow black brothers and sisters should wake up and stop worshipping these people, I can't believe this is happening in 2025
I blame trump, his racist behavior has emboldened these deplorable folks more
In this video, we continue building our TikTok-style video scrolling app by focusing on a crucial part — the backend API!
You’ll learn how to create a simple yet powerful PHP API that fetches videos from a MySQL database using LIMIT and OFFSET. This allows us to load videos gradually as the user scrolls, just like TikTok, YouTube Shorts, or Instagram Reels.
We’ll break down each step so you understand how pagination works and why APIs are essential when frontend and backend need to communicate — especially in modern apps that load data dynamically using Fetch API.
By the end, you’ll have a working RESTful API endpoint ready to serve video data to your frontend JavaScript code.
✅ Perfect for beginners ✅ Real-world project ✅ RESTful API + PHP + MySQL ✅ Supports infinite scrolling with offset
Let’s keep building your first real web app — one video at a time!
trytillmake: Php that year, that's my first programming language... Respect to u guys still coding in php twale👐👐👐
Sorry bro for the late reply, my monitor took a little hit. PHP8 is not the PHP of old, PHP8 is a whole different animal. So easy to use, and is still in control of about 70% of the web. Security wise, they improved a lot of things. You can never go wrong with modern PHP.
Nonybb: Trump is a nice dog that doesn't deserve to be on a loose. To get the best of him, he must be on a leash, guided and conditioned with dog tricks; other than that, he becomes another world figure in Hitler dimension. Go and study Germany in the time of Hitler; his book Mein Kampf, a nazi bible, was an inspiration of the German fascist. An obsessive book to protect them from Jews; the same way Trump is going against globalization with fascist mentality to protect the American economy from the rest of the world
Omofaye99: We were not discussing demand pull inflation as to your initial summation.
Look, I am not studying the thing, I am in it, it is what provides my daily bread ok? Customs said it last year, in fact they were gloating about, that they made 10 trillion Naira or so last year, but what they did not tell Nigerians is that they taxed people more, which ended up making the goods far more expensive than they already should be. You no dey watch news?
Omofaye99: What are we discussing exactly? Tariff or inflation? I already argue that tariff is not the main cause of inflation in Nigeria with the point I made in my previous replies.
Prices go up right? Too much money chasing too few goods and services, abi no be so? Na wa oh!
Omofaye99: Nigeria tariff on USA products hasn't changed since it was implemented I think since 2014/15. Now tell me why imported goods have witness price increase despite unchanged tariff?
so no be the same Nigeria yme and you dey? So ll these inflation, you no see am? Custom said they made i believe 10 trillion or so last year. Bro!
Firstly, you mistakenly equates the removal of tariffs with an automatic decrease in prices and increased consumer purchasing, ignoring that many factors influence pricing, such as production costs and market demands.
So you want influx of cheaper imported goods with unguaranteed price reduction to saturate your market against an already struggling local production. How does that generates more wealth?
And your claim that dropping tariffs on oil will automatically lower fuel prices is funny when you are not considering the complexities of global oil pricing and supply chains.
Bro! I am into that line in my small way ok? I do that for a living, once the government put more tariff on imported goods, we increase the price. No emotions attached, No need to hate Trump. No be him tell una to destroy una own economy
Omofaye99: Is that what you proffer as a solution to Nigeria present economical challenges? Do you consider blanket reduction of import tariffs as a quick fix? this approach of yours is fundamentally flawed my dear friend.
The people who are shouting are people who do not know anything about business, If you import stuffs from the US, come to Nigeria and pay tariff money for those goods, the prices increase, and the increment gets passed on to the final consumers or buyers, but if there are no tariffs, then the goods will be cheaper and from the human psychology, you will see that people will tend to buy more, which means you sell more, you make more money in a shorter period of time, the same goes for your own products that you export to America, both parties do more exchange for that given period of time, which leads to more activities, more wealth generated. Instead of taking like, 3 months top sell a whole container, you will clear it in like, 3 weeks or a month and a week. You see, things move much quicker. So what Nigeria has to do is to become more productive. Produce more goods, especially finished goods, even Dangote fuel will be cheaper if Nigeria drops the tariff from American oil.
This ASSHOLE has lost his own country SIX TRILLION DOLLARS IN JUST TWO DAYS.
HUNDREDS OF THOUSANDS OF AMERICANS WERE ON THE STREETS YESTERDAY DEMANDING HIS REMOVAL AS THEY WATCH THEIR LIFE SAVINGS DISAPPEAR, AND YOU ARE HERE SAYING WHAT?
THERE ARE WAYS TO ADDRESS PERCEIVED TRADE IMBALANCES, NOT THIS IMBECILIC, BLANKET WAY USED BY THIS STUPID, DUMB MONSTER YOU PEOPLE WORSHIP FOR GOODNESS-KNOWS-WHAT-REASON, SINCE HE IS A RACIST THAT HATES THE VERY LOOK OF YOU.
STUPID PEOPLE WITH NO SENSE.
HAHAHAHAHAHAHA hired crowd, did you see Trump's latest polls, he is only going higher and higher
Since we will not be loading all the videos in the database at once ( imagine you have 10,000 videos, it will be very difficult to load all the videos at once) so we will want use a method to load the videos gradually, ie, we must load a certain number of videos each time, then load and display more videos without refreshing the page, just as Tik-tok does, again, as we load new videos each time, our app will not load already loaded videos, then if our app is in the process of loading videos, the app will prevent further request from the server, until it is done loading them. All of these are made possible by using an API, a RESTFUL API in this case, I will be explaining how it works and what each line of code does. So stay tuned!
📌 Master PHP Video Upload: Validation, Security & MySQL Integration
Want to learn how to securely upload videos in PHP and store them in a MySQL database? In this tutorial, I’ll guide you step by step through the entire process, from validating video files to handling large uploads and ensuring security best practices.
🔹 What You’ll Learn: ✅ How to create a video upload form in PHP ✅ Securely validate videos (file type, size, and format) ✅ Prevent security vulnerabilities (SQL injection & file exploits) ✅ Store video metadata in a MySQL database ✅ Handle large video files properly
By the end of this tutorial, you’ll have a fully functional PHP video upload system that you can integrate into your projects! 🚀
🔔 Don’t forget to Like, Subscribe, and hit the Notification Bell for more web development tutorials!
ahmedio2017: Listen to yourself, there is no compulsion of religion.... Your religion shall be yours and mine shall be mine that's the meaning and stop being naive....
The last time I checked hijab is compulsory for all muslimah... Mind your business oga.
One of the methods to do form validation is to make sure the user filled the form fields correctly. So in this episode we will learn How to prevent upload or submit button, by disabling the button, and enabling the button ONLY when the user has filled all the fields completely.
Please, we need to transform Nairaland programming section into what it should really be. A computer programming heaven, you do not need the best computers to do it, just start with what you have. Make the video, upload to YouTube and post the link on Nairaland programming section. That way, we can help each other grow.