Hypertext Preprocessor Originally called “Personal Home Page Tools” Popular server-side scripting technology Open-source Anyone may view, modify and redistribute source code Supported freely by community Platform independent
php complete reference with database concepts for beginners is generally useful for those who want to start the career as a php developer. given each and every information right from the scratch to understand for the beginners and students as well. I hope this will help you a lot for the beginners to start the career.
php complete reference with database concepts for beginners is generally useful for those who want to start the career as a php developer. given each and every information right from the scratch to understand for the beginners and students as well. I hope this will help you a lot for the beginners to start the career.
Introduction of PHP with all the basic codes and tags. Explanation of all the confusing keywords. PHP forms are also explained along with operators and datatypes.
PHP tutorial for beginners with examples. In this session you will be learning lot of things. Know about the PHP introduction. Begin from basics and find the required details about it. PHP tutorial for beginners is available for you, watch till the end.
Take the help of this PHP admin tutorial for beginners and check the required information. Complete details required to get by you from this session. First know PHP basics and then proceed for other concepts. Greetings from Websoles Strategic Digital Solutions.
The PHP is a powerful web scripting language that is free and efficient language for building dynamic web pages. This presentation is an introduction to the basics of PHP programming with a little sample program.
Introduction of PHP with all the basic codes and tags. Explanation of all the confusing keywords. PHP forms are also explained along with operators and datatypes.
PHP tutorial for beginners with examples. In this session you will be learning lot of things. Know about the PHP introduction. Begin from basics and find the required details about it. PHP tutorial for beginners is available for you, watch till the end.
Take the help of this PHP admin tutorial for beginners and check the required information. Complete details required to get by you from this session. First know PHP basics and then proceed for other concepts. Greetings from Websoles Strategic Digital Solutions.
The PHP is a powerful web scripting language that is free and efficient language for building dynamic web pages. This presentation is an introduction to the basics of PHP programming with a little sample program.
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 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.
Learning of Php and My SQL Tutorial | For BeginnersRatnesh Pandey
PHP provides support for the HTTP PUT method used by some clients to store files on a server.
MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
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.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
2. Introduction
PHP: Hypertext Preprocessor
Originally called “Personal Home Page Tools”
Popular server-side scripting technology
Open-source
Anyone may view, modify and redistribute source code
Supported freely by community
Platform independent
3. History
Started as a Perl hack in 1994 by Rasmus Lerdorf
developed to PHP/FI 2.0
By 1997 up to PHP 3.0 with a new parser
engine by Zeev Suraski and Andi Gutmans
Version 5.2.4 is current version, rewritten by
Zend to include a number of features, such as
an object model
Current is version 5
4. What is a PHP File?
PHP files can contain text, HTML, CSS, JavaScript, and
PHP code
PHP code are executed on the server, and the result is
returned to the browser as plain HTML
PHP files have extension ".php"
5. What Can PHP Do?
PHP can generate dynamic page content
PHP can create, open, read, write, and close
files on the server
PHP can collect form data
PHP can add, delete, modify data in your
database
PHP can restrict users to access some pages
on your website
PHP can encrypt data
6. Why PHP?
PHP runs on various platforms (Windows,
Linux, Unix, Mac OS X, etc.)
PHP is compatible with almost all servers
used today (Apache, IIS, etc.)
PHP supports a wide range of databases
PHP is free. Download it from the official PHP
resource: www.php.net
PHP is easy to learn and runs efficiently on
the server side
7. Basic PHP Syntax
A PHP script can be placed anywhere in the
document.
A PHP script starts with <?php and ends with ?>:
<?php
// PHP code goes here
?>
8. A PHP file normally contains HTML tags, and
some PHP scripting code.
Below, we have an example of a simple PHP file,
with a PHP script that uses a built-in PHP
function "echo" to output the text "Hello World!"
on a web page:
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
</body>
</html>
9. Comments in PHP
<html>
<body>
<?php
// This is a single line comment
# This is also a single line comment
/*This is a multiple lines comment block
that spans over more than
one line
*/
?>
</body>
</html>
11. PHP Variables
Rules for PHP variables:
A variable starts with the $ sign, followed by
the name of the variable
A variable name must start with a letter or the
underscore character
A variable name cannot start with a number
A variable name can only contain alphanumeric characters and underscores (A-z, 0-9,
and _ )
Variable names are case sensitive ($y and $Y
are two different variables)
12. Php variables examples
<?php
$x=5; // global scope
function myTest()
{
$y=10; // local scope
echo "<p>Test variables inside the function:<p>";
echo "Variable x is: $x";
echo "<br>";
echo "Variable y is: $y";
}
myTest();
echo "<p>Test variables outside the function:<p>";
echo "Variable x is: $x";
echo "<br>";
echo "Variable y is: $y";
?>
17. PHP switch Statement
<?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, or green!";
}
?>
18. PHP while Loops
In PHP, we have the following looping
statements:
while - loops through a block of code as long
as the specified condition is true
do...while - loops through a block of code
once, and then repeats the loop as long as the
specified condition is true
19. The PHP while Loop
<?php
$x=1;
while($x<=5)
{
echo "The number is: $x <br>";
$x++;
}
?>
20. The PHP do...while Loop
<?php
$x=1;
do
{
echo "The number is: $x <br>";
$x++;
}
while ($x<=5)
?>
21. PHP for Loops
for (init counter; test counter; increment counter)
{
code to be executed;
}
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
22. Php for loops(cont'd)
The PHP foreach Loop
The foreach loop works only on arrays, and is used to loop
through each key/value pair in an array.
<?php
$colors = array("red","green","blue","yellow");
foreach ($colors as $value)
{
echo "$value <br>";
}
?>
23. <?php
PHP Functions
function writeMsg()
{
echo "Hello world!";
}
writeMsg(); // call the function
?>
PHP Function Arguments
<?php
function familyName($fname)
{
echo "$fname Refsnes.<br>";
}
familyName("Jani");
?>
24. PHP Arrays
<?php
$cars=array("Volvo","BMW","Toyota");
echo "I like " . $cars[0] . ", " . $cars[1] . " and " .
$cars[2] . ".";
?>
In PHP, there are three types of arrays:
Indexed arrays - Arrays with numeric index
Associative arrays - Arrays with named keys
Multidimensional arrays - Arrays containing one or
more arrays
25. Array(cont'd)
PHP Indexed Arrays
There are two ways to create indexed arrays:
1.The index can be assigned automatically
(index always starts at 0):
$cars=array("Volvo","BMW","Toyota");
2.The count() function is used to return the
length (the number of elements) of an array:
26. Array(cont'd)
PHP Associative Arrays
Associative arrays are arrays that use named
keys that you assign to them.
$age=array("Peter"=>"35","Ben"=>"37","Joe"=>"
43");
<?php
$age=array("Peter"=>"35","Ben"=>"37","Joe"=>"
43");
echo "Peter is " . $age['Peter'] . " years old.";
?>
27. PHP - Sort Functions For Arrays
The following PHP array sort functions:
sort() - sort arrays in ascending order
rsort() - sort arrays in descending order
asort() - sort associative arrays in ascending
order, according to the value
ksort() - sort associative arrays in ascending
order, according to the key
arsort() - sort associative arrays in descending
order, according to the value
krsort() - sort associative arrays in descending
order, according to the key
28. PHP Form Handling
PHP - A Simple HTML Form
<html>
<body>
<form action="welcome.php"
method="post">
Name: <input type="text"
name="name"><br>
E-mail: <input type="text"
name="email"><br>
<input type="submit">
</form>
</body>
</html>
Php program
<html>
<body>
Welcome <?php echo
$_POST["name"]; ?><br>
Your email address is: <?php
echo $_POST["email"]; ?>
</body>
</html>