PHP is a server-side scripting language that was created by Rasmus Lerdoff in 1994 and released in 1998. Major versions include PHP 3 in 1998, PHP 4 in 2000 which improved speed and reliability, and PHP 5 in 2004 which added improved object-oriented programming support. The latest version is PHP 7.4 released in 2019. PHP is an open source language that is widely used for web development due to its ease of use, flexibility, and built-in support for connecting to databases. It allows placing PHP code into HTML files which is then executed on the server and plain HTML is sent to browsers.
PHP is one of the simplest server-side languages out there, and it was designed primarily for web development. Learning PHP is good not only because it adds ...
PHP: Why PHP and MySQL? Server-side scripting, PHP syntax and variables, comments, types, control structures, branching, looping, termination, functions, passing information with PHP, GET, POST, formatting form variables, superglobal arrays, strings and string functions, regular expressions, arrays, number handling, basic PHP errors/problems
PHP is one of the simplest server-side languages out there, and it was designed primarily for web development. Learning PHP is good not only because it adds ...
PHP: Why PHP and MySQL? Server-side scripting, PHP syntax and variables, comments, types, control structures, branching, looping, termination, functions, passing information with PHP, GET, POST, formatting form variables, superglobal arrays, strings and string functions, regular expressions, arrays, number handling, basic PHP errors/problems
Topics: Introduction to PHP
To know more about
Offer- http://mazenet-chennai.in/mazenet-offers.html
Syllabus- http://mazenet-chennai.in/php-training-in-chennai.html
For more events- http://mazenet-chennai.in/mazenet-events.html
All videos- https://www.youtube.com/c/Mazenetsolution
Facebook- https://www.facebook.com/Mazenet.IT.Solution/
Twitter- https://twitter.com/Maze_net
Mail us : marketing@mazenetsolution.com
Contact: 9629728714
PHP stands for “PHP: Hypertext Preprocessor”. It is very good for creating dynamic content. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Topics: Introduction to PHP
To know more about
Offer- http://mazenet-chennai.in/mazenet-offers.html
Syllabus- http://mazenet-chennai.in/php-training-in-chennai.html
For more events- http://mazenet-chennai.in/mazenet-events.html
All videos- https://www.youtube.com/c/Mazenetsolution
Facebook- https://www.facebook.com/Mazenet.IT.Solution/
Twitter- https://twitter.com/Maze_net
Mail us : marketing@mazenetsolution.com
Contact: 9629728714
PHP stands for “PHP: Hypertext Preprocessor”. It is very good for creating dynamic content. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
2. Rasmus Lerdoff developed PHP in1994 and Released 1998.
PHP is a recursive acronym of Hypertext Pre-Processor.
In 1998 PHP3 was released
In 2000 PHP4 –improved speed and reliability
In 2004 PHP5 –Improved support for Object-Oriented Programming
In 2006 PHP5.2 was released
In 2009 PHP5.3 –Namespace Support
In 2012 PHP5.4-Improved with Performance and memory Requirement.
In 2013 PHP5.5-With Generators and finally blocks for exception
handling
In 2014 PHP5.6-constatnt expression, character encoding etc.
In 2015 PHP7.0-Return type Declaration, spaceship operator etc.
In 2016 PHP7.1 –nullable types
In 2017 PHP7.2- Abstract method overriding
In 2018 PHP 7.3
Latest version of PHP is PHP7.4 released in 2019 offers to build
applications that influence s everything form the website
PHP is a Server-side Scripting Language and used to create dynamic web
pages.
3. Speed
Easy to Use/Simplicity
Stable
Platform Independent/Portability
Open Source
Built-in Database Connection Module
Powerful Library Support
Flexibility
Database Connectivity
Speed-UP Custom Web Application
Development
4. PHP Script is executed on the server,and the
plain HTML result is sent back to the browser.
PHP Script can be placed anywhere in the
document .
PHP script starts with <?php And ends with
?>
<?php
//PHP Code goes here
?>
6. Step 1 : Download the XAMPP Server From
internet
Step 2: Install XAMPP Software
Step 3: Open and Click on the start button
that is in front of Apache Text
7. Step 4: Create PHP file in htdocs directory
which is resides in XAMPP
directory[c:sampphtdocs].
8. Step 5:Save Program with extension .php in
htdocs direcory , then open your browser and
then type http://localhost/programname.php
on address bar and press Enter key.
9. Variable:In PHP, a variable is declared using a $
sign followed by the variable name. Here, some
important points to know about variables:
As PHP is a loosely typed language, so we do not
need to declare the data types of the variables. It
automatically analyzes the values and makes
conversions to its correct datatype.
After declaring a variable, it can be reused
throughout the code.
Assignment Operator (=) is used to assign the
value to a variable.
10. A variable must start with a dollar ($) sign,
followed by the variable name.
It can only contain alpha-numeric character and
underscore (A-z, 0-9, _).
A variable name must start with a letter or
underscore (_) character.
A PHP variable name cannot contain spaces.
One thing to be kept in mind that the variable
name cannot start with a number or special
symbols.
PHP variables are case-sensitive, so $name and
$NAME both are treated as different variable.
12. In PHP is_int() or is_integer() are used to test whether a
value is an integer
For example,
<?php
$a=10;
if(is_int($a))
{
echo "is an integer";
}
?>
13. In PHP is_float() is used to test whether a value is a
floating point number
<?php
$a=10.91;
if(is_float($a))
{
echo "is an floating point number";
}
?>
14. In PHP is_string() is used to test whether a value is a
String
For example 1,
<?php
$a="good";
if(is_string($a))
{
echo "is an string";
}
?>
For example 2,
<?php
$a="Good";
echo "$a morning";
?>
16. Numeric array − An array with a numeric index.
Values are stored and accessed in linear fashion.
Associative array − An array with strings as index.
This stores element values in association with key
values rather than in a strict linear index order.
Multidimensional array − An array containing one
or more arrays and values are accessed using multiple
indices
17. <?php
/* First method to create array. */
$numbers = array( 1, 2, 3, 4, 5);
foreach( $numbers as $value )
{ echo "Value is $value <br />"; }
/* Second method to create array. */
$numbers[0] = "one";
$numbers[1] = "two";
$numbers[2] = "three";
$numbers[3] = "four";
$numbers[4] = "five";
foreach( $numbers as $value )
{
echo "Value is $value <br />";
}
?>
18. <?php
/* First method to associate create array. */
$salaries = array("mohammad" => 2000, "qadir" => 1000, "zara" => 500);
echo "Salary of mohammad is ". $salaries['mohammad'] . "<br />";
echo "Salary of qadir is ". $salaries['qadir']. "<br />";
echo "Salary of zara is ". $salaries['zara']. "<br />";
/* Second method to create array. */
$salaries['mohammad'] = "high";
$salaries['qadir'] = "medium";
$salaries['zara'] = "low";
echo "Salary of mohammad is ". $salaries['mohammad'] . "<br />";
echo "Salary of qadir is ". $salaries['qadir']. "<br />";
echo "Salary of zara is ". $salaries['zara']. "<br />";
?>
20. In PHP, Object is a compound data type
(along with arrays). Values of more than one
types can be stored together in a single
variable. Object is an instance of either a
built-in or user defined class. In addition to
properties, class defines functionality
associated with data.
22. Null is a special data type which can have
only one value: NULL. A variable of data type
NULL is a variable that has no value assigned
to it. Tip: If a variable is created without a
value, it is automatically assigned a value of
NULL.
Resources: The special resource type is not
an actual data type. It is the storing of a
reference to functions and resources external
to PHP. A common example of using the
resource data type is a database call.
23. The if Statement
Executes some code if one condition is true
Syntax
if (condition) {
code to be executed if condition is true;
}
<?php
$t = date("H");
if ($t < "20")
{
echo "Have a good day!";
}
?>
24. The if...else Statement
The if...else statement executes some code if a
condition is true and another code if that condition is
false
Syntax
if (condition) {
code to be executed if condition is true;
} else {
code to be executed if condition is false;
}
<?php
$t = date("H");
if ($t < "20") {
echo "Have a good day!";
} else {
echo "Have a good night!";
}
?>
25. The if...elseif...else Statement
The if...elseif...else statement executes different codes for
more than two conditions
Syntax
if (condition) {
code to be executed if this condition is true;
} elseif (condition) {
code to be executed if first condition is false and this
condition is true;
} else {
code to be executed if all conditions are false;
}
<?php
$t = date("H");
if ($t < "10") {
echo "Have a good morning!";
} elseif ($t < "20") {
echo "Have a good day!";
} else {
echo "Have a good night!";
}
?>
26. The switch Statement
The switch statement is used to perform different
actions based on different conditions.
Syntax
switch (n) {
case label1:
code to be executed if n=label1;
break;
case label2:
code to be executed if n=label2;
break;
case label3:
code to be executed if n=label3;
break;
...
default:
code to be executed if n is different from all
labels;
}
27. <?php
$favcolor = "red";
switch ($favcolor) {
case "red":
echo "Your favorite color is red!";
break;
case "blue":
echo "Your favorite color is blue!";
break;
case "green":
echo "Your favorite color is green!";
break;
default:
echo "Your favorite color is neither red,
blue, nor green!";
}
?>
30. while loop
The while loop executes a block of code as long as
the specified condition is true.
Syntax
while (condition is true) {
code to be executed;
}
<?php
$x = 1;
while($x <= 5) {
echo "The number is: $x <br>";
$x++;
}
?>
31. do...while Loop
The do...while loop will always execute the block of
code once, it will then check the condition, and
repeat the loop while the specified condition is
true.
Syntax
do {
code to be executed;
} while (condition is true);
<?php
$x = 1;
do {
echo "The number is: $x <br>";
$x++;
} while ($x <= 5);
?>
32. For Loop
The for loop is used when you know in advance how
many tim
Syntax
for (init counter; test counter; increment counter) {
code to be executed for each iteration;
}
Parameters:
init counter: Initialize the loop counter value
test counter: Evaluated for each loop iteration. If it
evaluates to TRUE, the loop continues. If it evaluates to
FALSE, the loop ends.
increment counter: Increases the loop counter value
<?php
for ($x = 0; $x <= 10; $x++) {
echo "The number is: $x <br>";
}
?>
33. Foreach Loop
The foreach loop works only on arrays, and is used
to loop through each key/value pair in an array.
Syntax
foreach ($array as $value) {
code to be executed;
}
For every loop iteration, the value of the current
array element is assigned to $value and the array
pointer is moved by one, until it reaches the last
array element.
<?php
$colors = array("red", "green", "blue", "yellow");
foreach ($colors as $value) {
echo "$value <br>";
}
?>
35. Type Juggling means dealing with a variable
type. In PHP a variables type is determined by
the context in which it is used. If an integer
value is assigned to a variable, it becomes an
integer.
approach of PHP to deal with dynamically
changing value of variable is called type
juggling
37. Exprression are any code that evaluates value
An expression is a piece of code that
evaluates to a value.
For eg,
$x=$a+$b
38. An Operator is a symbol that manipulates one
or more values ,usually producing a new
value in the process.
Unary Operator
Binary Operator
Conditional Operator(Ternary Operator)
40. 7. Casting Operators
Casting operator changes type of its operand
by force.
For eg
<?php
$a="5";
echo var_dump($a);
$b=(int) $a;
echo var_dump($b);
?>
41. 8.Miscellanous operator
Error Supression (@) Operator-
In PHP @ symbol is defined as Error Control
Operator. When it is prefixed to any
expression, any error encountered by PHP
parser while executing it will be suppressed
and the expression will be ignored.
43. Execution
PHP Supports one execution operator
backticks(``).
PHP will attempt to execute the contents of
the backticks as a shellcommand
Eg.
$output=`ls -l`;
Echo $output;