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.

WEB (HTML, CSS, PHP)

How to Organize Code with Include and Require

As your website grows, writing the same code (e.g., menu or footer) on every page separately becomes...

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

Displaying data from a MySQL database on a webpage using PHP PDO

Once we have data safely stored in the database, it's time to display it to visitors. When outputtin...

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

How to properly design a database for multi-language websites

When starting to build a website in multiple languages, we often wonder if we need to create a separ...

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