Author name: Projects Inventory

Adding Form Fields Dynamically with PHP/MySQLi in AngularJS

Creating our Database First, we are going to create our database.  Open phpMyAdmin. Click databases, create a database and name it as angular.  After creating a database, click the SQL and paste the below codes.

  Index.html Next, this is our index that contains out add form.

Angular.js This contains our angular js …

Adding Form Fields Dynamically with PHP/MySQLi in AngularJS Read More »

Delete Multiple Rows using PHP/MySQLi in AngularJS

Getting Started I’ve used CDN for Bootstrap and Angular JS so you need internet connection for them to work. Creating our Database First, we’re going to create our database and insert sample data that you can use in deleting. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as angular. 3. After creating …

Delete Multiple Rows using PHP/MySQLi in AngularJS Read More »

Creating a Simple Upload File (AngularJS Progress Bar and PHP/MySQLi)

Getting Started Angular JS version = 1.5.7. Creating our Database First, we’re going to create our database. “Apache” and “MySQL” Servers are required too in this tutorial. In my case I am using XAMPP as my virtual server. Open PHPMyAdmin. Click databases, create a database and name it as angular. After creating a database, click the SQL and copy/paste the below codes.

  Creating the …

Creating a Simple Upload File (AngularJS Progress Bar and PHP/MySQLi) Read More »

Signup/Register using PHP/MySQLi in AngularJS

Creating our Database First, we’re going to create our database. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as angular. 3. After creating a database, click the SQL and paste the below codes.

Updating our Main Page Next, we update index.html by adding the ff. javascript files for our registration.

Creating the …

Signup/Register using PHP/MySQLi in AngularJS Read More »

Login with Session using PHP/MySQLi in Angular JS

To create a login page using Angular JS and set SESSION with PHP/MySQLi. Angular JS is a javascript framework maintained by Google and is capable of creating Single-Page Applications. In this tutorial, we’ll set up PHP Session to prevent users from going into our homepage if not authenticated. Getting Started I’ve have used CDN for …

Login with Session using PHP/MySQLi in Angular JS Read More »

Login with PHP/MySQLi in AngularJS

Creating our Database First, we are going to create our database and insert sample users to test our app. 1. Open phpMyAdmin. 2. Click databases, create a database and name it as angular. 3. After creating a database, click the SQL and paste the below codes

Index.html html

Login.html html

Angular.js JavaScript …

Login with PHP/MySQLi in AngularJS Read More »

How to Create Routes in AngularJS

Creating our Main Page First this is our main page named index.html. In here, we’re gonna create a simple bootstrap navbar for navigation between routes. html

Angular.js Lastly, this contains our Angular.js scripts and our router. Take note that in routing, we need to add the dependency ngRoute to our app for it to work. JavaScript

How to Create Routes in AngularJS Read More »

File Preview before Upload in AngularJS

AngularJS (1.x) example that shows a file preview before upload (image preview, plus filename/size for any file), using CDN for Bootstrap and AngularJS. Creating our HTML html

Angular.js JavaScript

  Download Code of Angular Preview

How to Create a Loader in AngularJS

1. HTML (index.html) html

2. AngularJS Logic (angular.js) javascript

3. Explanation & Best Practices ng-show=”vm.loading”: Toggles the loader overlay. You can switch to ng-if if you want DOM removal instead of visibility toggling. Interceptor (loaderInterceptor): Automatically shows the loader on every $http request and hides it when the response returns or errors. This …

How to Create a Loader in AngularJS Read More »

Simple Calculator Project Using Bootstrap and JavaScript in HTML/CSS

Key features Bootstrap 5 responsive layout Vanilla JavaScript with safe evaluation (basic sanitization) Keyboard support Clear, backspace, percentage, decimals Accessible buttons (ARIA labels & focus states) Mobile-friendly html

What to do with it Use as-is: Save above as calculator.html and open in a browser. Extend: Add memory buttons (M+, MR), scientific functions, theme toggles. …

Simple Calculator Project Using Bootstrap and JavaScript in HTML/CSS Read More »

Scroll to Top