Blog about Web Programming and Electronics
The Vadnica Blog is a place where I share my experience with web programming and electronics. Here you will find articles about HTML, CSS, JavaScript, PHP and MySQL, as well as Arduino projects, Linux and news from the world of technology. I write in a simple, understandable language, so the content is accessible to both beginners and more experienced readers.
How to Export Data from MySQL Database to CSV File with PHP
In the previous post, we looked at how to import data; now we'll do the reverse. Exporting data from...
How to Import a CSV File into a MySQL Database with PHP
Importing data from CSV files into a database is one of the most common tasks when managing web appl...
How to Convert an XML File to CSV with PHP
XML is excellent for data exchange, but when we want to process it in Excel or import it into a data...
Understanding and Setting the SameSite Attribute for Cookies
Browsers have recently tightened security. If you see a warning about the SameSite attribute on...
Installing XAMPP Server on Linux and Connecting to PHPStorm
XAMPP is a popular package that combines Apache, MariaDB, and PHP in one place. Although Linux uses ...
Complete LAMP Stack Installation (Apache, PHP, and MySQL) on Linux
To set up a development environment on Linux, we need three key components: the Apache web server, a...
How to Force the Footer to the Bottom of the Page Using the calc() Function
On websites with little content, it often happens that the footer doesn\'t stay at the bottom of the...
How to Prevent Whole Page Scrolling (Scroll Chaining)
Has it ever happened to you that while scrolling down within a smaller window (div), once you ...
Installing and upgrading PHP on Linux Ubuntu/Debian
PHP is the heart of your web server. In a Linux environment (Ubuntu or Debian), installing and maint...
How to Create an Interactive Hamburger Icon
An interactive hamburger icon is a key element of mobile websites. It allows us to hide the navigati...
How to Properly Display Code and Paragraphs in HTML
When outputting text from a database, we often encounter the issue where the browser ignores new lin...
How to securely connect MySQL and PHP (PDO method)
When working with PHP and databases, security comes first. Older connection methods (such as `...