Tips & Tutorials – Javascript

Country State City Dependent Dropdown With PHP MySQL – Simple Example

Welcome to a tutorial on how to create an AJAX-driven country, state, city dependent dropdown list with PHP and MySQL. So you are working on a top-secret ninja project that will cascade load once the user chooses the country, state, or city? Well, it is actually not that difficult. To create a country, state, city …

Country State City Dependent Dropdown With PHP MySQL – Simple Example Read More »

HTML CSS Javascript PHP MySQL To Build A Website – Simple Example

Welcome to a beginner’s tutorial and simple example on how to use HTML, CSS, Javascript, PHP, and MySQL together to build a website. Just started with web development, and wondering how we can “put” all the different technologies together? Various technologies and languages work together to create a website, each of them handling a different …

HTML CSS Javascript PHP MySQL To Build A Website – Simple Example Read More »

5 Ways To Call PHP File From Javascript – Simple Examples

Welcome to a tutorial on how to call a PHP file from Javascript. So you need to call a PHP script to do some processing from Javascript? The common ways to call a PHP script with Javascript are: Use AJAX to call a PHP script. Use the Fetch API to call a PHP script. Redirect …

5 Ways To Call PHP File From Javascript – Simple Examples Read More »

Very Simple PHP Video Gallery (No Database, From Folder)

Welcome to a tutorial on how to create a simple responsive PHP video gallery. Once upon a time in the stone age of the Internet, we have to struggle with all kinds of funky 3rd party video plugins to even play a single video. Fast forward today, things are really easy. Creating a simple video …

Very Simple PHP Video Gallery (No Database, From Folder) Read More »

Get Started With WebAssembly In 5 Minutes (Step By Step Tutorial)

Welcome to a step-by-step tutorial on how to get started with WebAssembly (WASM for short). Ever since the launch of WASM in 2017, it has created quite a stir in the web development world – From excited code ninjas to demented “the end of Javascript is here” doomsayers. In any case, this is something worth …

Get Started With WebAssembly In 5 Minutes (Step By Step Tutorial) Read More »

Get GPS Coordinates & Generate Map In Javascript (Simple Example)

Welcome to a tutorial on how to get the GPS coordinates using Javascript, and display them on a map. It is not a mystery by now that there is something called the global positioning system (GPS), and it is very commonly used on mobile devices. But there is one thing that some beginners are still …

Get GPS Coordinates & Generate Map In Javascript (Simple Example) Read More »

Very Simple WebRTC Example With Javascript NodeJS (Peer-To-Peer)

Welcome to a tutorial and very simple example of WebRTC with Javascript and NodeJS. A peer-to-peer connection with Javascript? That is very interesting. But after hours of reading the documentation on the Internet, it has been nothing but a painful experience. So, allow me to simplify things and save you some time: One of the …

Very Simple WebRTC Example With Javascript NodeJS (Peer-To-Peer) Read More »

Simple PHP Websockets Live Chat – Free Code Download!

Welcome to a tutorial on how to create a PHP live chat application with WebSockets. Looking to add live chat features to your website or portal? The simplified mechanics of a PHP WebSockets live chat application are: Create a command-line PHP script that will run and manage a WebSocket chat server. Use the Javascript WebSocket …

Simple PHP Websockets Live Chat – Free Code Download! Read More »