Breaking News
You are here: Home / Notes / SEM-5 / PHP MYSQL

Category Archives: PHP MYSQL

Feed Subscription

this is a subcategory of sem-5

How to Install WAMP Server

next

 How to Install WAMP Server WAMP stands for Windows Apache MySQL PHP. WAMP Server is an open source software, which is free to Wamp is a combination of numbers of software that allows to develop dynamic website with Apache Server, MySQL database and PHP script language. It also provides the facility of PHPMYAdmin and SQLite manager to handle the database more easily and effectively. 1.  Search Download Wamp Server on ... Read More »

How to install xampp on windows

xamp installation

How to install xampp on windows Type download xampp on google download xampp from any website and save it to your computer Double-click the .exe file you downloaded. A window opens, asking you to select the language you’d like to use. If a warning dialog appears click the “Allow” option to install XAMPP. Choose a language from the menu, and ... Read More »

Introduction to PHP

working of php

HISTORY of PHP: PHP was written in the C programming language by Rasmus Lerdorf in 1994 for use in monitoring his online resume and related personal information. For this reason, PHP originally stood for “Personal Home Page”. Two programmers, Zeev Suraski and Andi Gutmans, rebuilt PHP’s core, releasing the updated result as PHP/FI 2 in 1997. (Name changed to PHP: ... Read More »

what is php.ini File?

what is php.ini File?

php.ini File It is a plain text file that is used to configure PHP. When the PHP interpreter is started, it reads the php.ini file to determine what settings to use. We will mention this file from time to time throughout the course, but for now, it is enough that you are aware of its existence. Read More »

EMBEDDING PHP AND HTML

EMBEDDING PHP AND HTML

EMBEDDING PHP AND HTML: There are two ways to use HTML on your PHP page. The first way is to put the HTML outside of your PHP tags. You can even put it in the middle if you close and reopen the <?php -and- ?> tags. Here is an example of putting the HTML outside of the tags: <html> <title>HTML ... Read More »

PHP Data types

PHP Data types

PHP Data types PHP supports eight primitive types. Four scalar types: boolean integer float (floating-point number, aka ‘double‘) string o    Integers: are whole numbers, without a decimal point, like 4195. o    Doubles: are floating-point numbers, like 3.14159 or 49.1. includes a decimal point o    Booleans: have only two possible values either true or false. Strings: A string is a collection of characters. When you work with Strings in your scripts, they ... Read More »

PHP Operators

PHP Operators

PHP Operators There are many operators used in PHP, so we have separated them into the following categories to make it easier to learn them all. Assignment Operators Arithmetic Operators Comparison Operators Concatenation Operators Logical Operators   Assignment operator Assignment operators are used to set a variable equal to a value or set a variable to another variable’s value. Such ... Read More »

static and global variables

static and global variables

PHP variables scope: static and global variables With the introduction of functions into our programs, we encounter the issue of variable scope for the first time. The scope of a variable determines which parts of the program have access to it. Consider the following example: <?php $position = "m"; function change_pos() { $position = "b"; } change_pos(); echo ("$position"); // Prints ... Read More »

PHP CONDITIONAL STATEMENT

PHP CONDITIONAL STATEMENT

CONDITIONAL STATEMENT   If…Else This is used for either/or decisions. If the Boolean is true, the first block of code is executed. If the Boolean is false, the second code block is executed. Syntax: if (expr) { //Statements } else { //Statements } Example: <?php $a=10,$b=25; if ($a > $b) { echo "a is greater than b"; } else { ... Read More »

LOOPS in PHP

LOOPS in PHP

LOOPS while – loops through a block of code while a specified condition is true do…while – loops through a block of code once, and then repeats the loop as long as a specified condition is true for – loops through a block of code a specified number of times foreach – loops through a block of code for each ... Read More »

Scroll To Top