Blog about Web Programming and Electronics
💬 👤

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.

Programming

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...

13. 03. 2026
Programming

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...

13. 03. 2026
Programming

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...

07. 03. 2026
WEB (HTML, CSS, PHP)

Understanding and Setting the SameSite Attribute for Cookies

Browsers have recently tightened security. If you see a warning about the SameSite attribute on...

06. 03. 2026
Linux

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 ...

04. 03. 2026
Linux

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...

04. 03. 2026
WEB (HTML, CSS, PHP)

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...

03. 03. 2026
WEB (HTML, CSS, PHP)

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 ...

03. 03. 2026
Linux

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...

03. 03. 2026
WEB (HTML, CSS, PHP)

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...

03. 03. 2026
WEB (HTML, CSS, PHP)

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...

03. 03. 2026
WEB (HTML, CSS, PHP)

How to securely connect MySQL and PHP (PDO method)

When working with PHP and databases, security comes first. Older connection methods (such as `...

03. 03. 2026