Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: php course for beginners
Description: php course for beginners. it is simple to understand about how to php is a main language in web site creation.

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


PHP Tutorial For Beginners | PHP Full Course | PHP |
PHP Tutorial | PHP Course

PHP Tutorial #1
Php is a acronym for hypertext preprocessor and it 's a serverside
scripting language
...
On the basis
of the request of the client
...
Php is a serverside scripting language which can be
used for databases, mail servers or systems
...
Facebook, Yahoo and Yahoo Uses Php with mysql and
Wikipedia itself uses Php
...
I hope you have enjoyed this
video please rate, comment and subscribe and bye for now
...
or via Php
server or via the Php server, so that's it for this video and in the
coming videos stay tuned and please keep watching these videos,
and I hope to keep watching
...
I am going to show you
how to install XM webserver to test your Php programs
...
Xampp is a tool by which you can make your
computer as a server for testing your your applications
...
you can start mysQL database server and
your apache from this control panel
...
How you can close that that pid and
start Apache server
...
port 80 is already busy and it 's not
allowed to use this port
...
I want to change the port on which my
Apache web server will listen right so once again
...
In front of this apache, you will be able to see this
...
I will start my mySQL server and it started
and will show you this message
...
this is where you
need to put your all files in order to see them in the browser
...
how to install and use
this exam on your windows operating system
...
be able
to see it on your browser so that 's it for this video
...


PHP Tutorial #2
Notepad plus plus is a simple text editor for writing and editing your
Php programs on your Windows operating system
...
there are
other text editors which you can use if you want to write your code, or
you want an editor which is crossplatform, for example, eclipse
...
You can
program Php using that netbeans or eclipse
...
I 'm going to show you how to write your first Php
program in your Windows operating system
...
For Now
...
a Php code will be structurally similar to C and C in a way that it can be
and it can support procedural language like C
...
Also to some degree which C++ is right and this
objectorientation part we will we are going to see it later, but for now we will
see the procedural path
...
Php support c++ or Java style comments like this
slash, double slash or for example, I
...
Php also support Html tags, so if you do n't know how to use Html I
have the playlist in my channel, you can search for this Html tutorials
...
I 'm also going to show you how to cod e this Php in in
details so that 's it for this video please rate comment, subscribe and bye bye for
now
...
In
the last video, I 've shown you how to write your Hello World first program and
how to provide comment to your program
...
Php variables are case
sensitive in Php
...
local variable
...
Some of the variable names are reserved in Php like
post underscore post underscore
...
You can use
to output the parameter pass to it okay, so the typical uses of for this is to send
data to the client browser
...

This will be the static value
...
You have we wanted to print,
but this is the value actual value You are printing here right you can even print
the same thing without using commas, so you can just exclude comma here
...

First is a new number one, number one and which is equal to some
value
...
For example, and I want to use
these two variables to add subtract and multiply and divide I can do this
easily by my echo
...
If the
condition which whatever you pass in here is true, it will
perform this operation otherwise it will go out of this condition
...
Then I can echo
...
For example,
...
In this way
...
Php
also includes this conditional statements so that 's it for this
tutorial
In this tutorial, I am going to show you how you can use some
of the comparison operator and logical operators using this if
condition or in this if statement
...
Php uses some of the logical operators which
we can use in Php with our conditions
...
It is based on some
conditions so
...
In that case
...
Php has some logical operators and
and you can use it like this A and D or double and symbol like
this both
...
It will check for or so or
one of the condition is cube
...


PHP Tutorial #5
An array array is the collection of similar data so for example,
you want a collection of names
...
in order to print this
...
the position of these these values or these
elements is also important
...
You can just use this name
...


you can add more values to this by just assigning it a new t and
new name and then you will be able to see one more key
...
it gives you the flexibility
to decide your own key and assign a value to it
...
Here
...
So how can I
assign this key
...
This is called associative array
and this makes your usage of array more flexible I am going to
show you how to declare and use multidimensional array
...
I can include array inside an array s
...
in order to print this kind of array
...
You can just write echo and then you just need to provide two
square brackets
...
You can print out all the values like this
...
I will show the name and
the age and the weight right now
...
using associative
property
...
in order to print this
...
If you want to print it
...
I can
provide the key for the ages and the weight
...


PHP Tutorial #6
A while loop is declared by this keyword while and these two brackets
and here comes your your code so this is the keyword to declare while
loop and this bracket comes the condition which has to match in order
to execute the code inside your while
...
never attempt something
like this until and unless you have some concrete reason to do it
otherwise it will crash your browser
...
dowhile, loop will
execute at least once even if your condition is true
...
loop you can also use 2 while

loop to perform the same task, but the problem with 2
...
while loop is it will execute
...
The loop it will check to is less than or less than ten still
it will print this and the counter will be 2
...

dowhile
...

for loop is also a kind of loop, but it's more flexible in a way that you
don't need to declare these counter or increment counter like this, you
have to do in while loop, you can do it in the construct of your for loop
...
Here separated by these semicolon
and first category is the
...

second is the condition and third is the increment of the
...
So for
example, i want to print some strength ten times
...
is
equal to 1 and counter which is 1 is less than 10
...


PHP Tutorial #7
for each loop we use it to iterate the values or elements in the array one
by one so that we can use it for example i want to print this i can just
write echo and then then then i can concatenate this with a break so
that it will be easier see br
...
in this way you can iterate the multidimensional array using for
each cube but you need to use a two for each loop
...

Switch cases is also one of the conditional statement in Php
...
For example, I have, for example,

a variable called the number and I want to check whether this whether
the value of this number is 1 or not or whatever ok so I can use it using
switch cases to evaluate death
...
switch case will only work
with your numbers
...
So for example, I
want to show some grade of the student okay and for example, this
grade is capital a right
...
There will be no
break sign so what this break does is it evaluate the condition
...


PHP Tutorial #8
Get is also called a super global variable or automatic global variable
...
So you can use it
anywhere in your Php script right it 's a global variable
...

Php is dynamic, so whatever you are passing as a url as a value
...
No t to make
this this execution little bit more interactive and userfriendly
...
I will just create a new Php page
...
As for example,
student student student dot Php
...
I will save this form and
I will just request this
...
I have the
student dot Php php
...
I can
...
we will use this break
here and maybe here also
...
You are passing in this get request and then
this request comes to your Php page and this is printed
...
I have shown you how to use this m and and these logical and comparison
operators in the earlier earlier videos
...
This time
it will work
...


PHP Tutorial #9
In this tutorial we are going to see the post variable basically
post behaves like get, but it 's a little different and I 'm going to
show you What is the difference between them, But first of all

we will prepare our form
...

use the dollar sign then underscore and the square sign and
semicolon and here comes your variable okay so just copy this
kind of form or make a form which can take the username and
password and I will save it now I come to my php here and here
...
we are indirectly passing the value of username to
this post dot Php
...
Able to see your Url or
whatever you have you whatever variable you have passed from
this to the to the other Php file right, But this will not show any
url so whenever you want to use a some I mean secret stuff
...

I am going to show you how to use function that takes arguments or
parameters
...
you can provide any
number of argument here, so it 's not restricted that you need to
provide only one argument or two or three
...
this is the very basic you know importance of
functions in any language right it makes your code really readable
...


PHP Tutorial #10
In this tutorial I am going to show you how to use a function that
returns some value okay so for example, I want to perform some more
actions on the basis of the result of my function
...
we can
have
...
these two
numbers and whatever result it's returning from this function, so what
this will do here is its returning the sum of these two numbers
...
In this way, you can return value using function and assign it to
the other variables
...
there is a special function called Date
in Php, which is used to give us the date right now
...
the format depends upon you whatever format you want
to see it will be able to see now
...

There are many combination to show your date and time and to
more about this table of the format
...
net and search for date here
...
but whenever we 've tried to use this global variable
inside our function
...
you can specify multiple
global variable inside your function and use them unless and
until you have declared those names as a global variable
outside these functions
...
You can just use different global
variable name 1 comma name 2
...



Title: php course for beginners
Description: php course for beginners. it is simple to understand about how to php is a main language in web site creation.