John Balbarona's Blog

JavaScript codes for loading JSON into a variable

How to load JSON file into a variable?

In this tutorial, I will show you how to get JSON file in JavaScript.

password inputs with eye icon and with text

How to show and hide password input in JavaScript?

In this tutorial, I will show you how to implement a show and hide password input using a button with text and with eye icon in JavaScript.

PHP code of creating an XML file

How to manipulate XML file in PHP?

In this tutorial, I will show you how to generate an XML file dynamically and manipulate it in PHP.

box-shadow applied on four sides on div

How to apply box-shadow evenly on 4 sides in CSS?

In this tutorial, I will show you how to apply box-shadow evenly on 4 sides in CSS.

a code that checks if an array contains an object in JavaScript

How to check if an array contains an object in JavaScript?

In this tutorial, I will show you what you need to do to check if an array contains an object in JavaScript.

Array stored in data-attribute and used by JavaScript

How to store array in HTML data-attribute?

In this tutorial, I will show you how to store array in html data-attribute and access it in JavaScript.

checkboxes of genre

How to access checkboxes with unknown names in PHP?

In this tutorial, I will show you how to send checkbox as an array in HTML.

mysql command line truncating a foreign-key constrained table.

How to truncate a foreign key constrained table in MySQL?

In this tutorial, I will show you how to truncate a foreign key constrained table in MySQL.

MySQL code syntax creating 3 related tables.

How to store array in MySQL?

In this tutorial, I will show you how to use multiple tables and JOIN them in our queries.

transfering of table row to form when edit button is clicked.

How to transfer data from table row to form when button is clicked in JavaScript?

In this tutorial, I will show you how to transfer data from table row to form in JavaScript.

© John Michael Balbarona