How to create a calculator in PHP

In this tutorial, we will learn How to create a calculator in PHP. In calculator, we will perform simple operations (add, subtract, multiply, divide) with two numbers. The HTML Code <div class=”signup-form”> <form method=”post”> <h2>Calculator</h2> <p>Developed using PHP</p> <hr> <div class=”form-group”> <div class=”row”> ass=”col”><input type=”text” class=”form-control” name=”first_number” placeholder=”First Number” required=”required” value=”<?php echo isset($fn)?$fn:”; ?>” pattern=”[0-9]+” […]

Continue Reading

CSS Font-Weight

The font weight controls the boldness or thickness of the text. The values can be set as normal (default size), bold, bolder, and lighter. <p class=”light”>Welcome to PHPGurukul Programming Blog.</p> <p class=”bold”>Welcome to PHPGurukul Programming Blog.</p> <p class=”bolder”>Welcome to PHPGurukul Programming Blog.</p> CSS p.light { font-weight: lighter; } p.bold { font-weight: bold; } p.bolder { font-weight: bolder; } Output You […]

Continue Reading

CSS Font Style

The font-style property is typically used to specify italic text. HTML <p class=”italic”>Welcome to PHPGurukul Programming Blog.</p> CSS p.italic { font-style: italic; } The font-style Property The font-style property has three values: normal, italic, and oblique.Oblique is very similar to italic but less supported. HTML <p class=”normal”>Welcome to PHPGurukul Programming Blog</p> <p class=”italic”>Welcome to PHPGurukul Programming Blog</p> <p […]

Continue Reading

CSS Font Size

The font-size property sets the size of a font. One way to set the size of fonts on the web is to use keywords. For example xx-small, small, medium, large, larger, etc. <p class=”small”> Welcome to PHPGurukul Programing Blog </p> <p class=”medium”> Welcome to PHPGurukul Programing Blog </p> <p class=”large”> Welcome to PHPGurukul Programing Blog </p> <p class=”xlarge”> Welcome to PHPGurukul Programing […]

Continue Reading

CSS Font Family

The font-family property specifies the font for an element.There are two types of font family names:– font family: a specific font family (like Times New Roman or Arial)– generic family: a group of font families with a similar look (like Serif or Monospace) Here is an example of different font styles: The HTML: <p class=”serif”> This is […]

Continue Reading

Art Gallery Management System using PHP and MySQL

The Art Gallery Management System has been designed to override the problem of the existing manual system. This web application is supported to eliminate and in some cases reduce the hardship faced by manual systems. The application is reduced as much as possible to avoid errors while entering the data. It also provides a message […]

Continue Reading

Nursery Management System using PHP and MySQL

The Nursery Management System has been designed to override the problem of the existing manual system. This web application is supported to eliminate and in some cases reduce the hardship faced by manual systems. The application is reduced as much as possible to avoid errors while entering the data. It also provides a message while […]

Continue Reading

Style Cascade and Inheritance

The final appearance of a web page is a result of different styling rules. The three main sources of style information that form a cascade are: – The stylesheet created by the author of the page– The browser’s default styles– Styles specified by the user Inheritance Inheritance refers to the way properties flow through the page. A child […]

Continue Reading

SQL Statement Select

SQL Basic Commands The SQL SHOW statement displays information contained in the database and its tables. This helpful tool lets you keep track of your database contents and remind yourself about the structure of your tables.For example, the SHOW DATABASES command lists the databases managed by the server. SHOW DATABASES; The SHOW TABLES command is used to display all of the […]

Continue Reading

SQL Basics

A database is a collection of data that is organized in a manner that facilitates ease of access, as well as efficient management and updating. A database is made up of tables that store relevant information. For example, you would use a database, if you were to create a website like PHPGurukul which contains lots […]

Continue Reading