Sunday, 1 April 2018

php Introduction 1- lecture(Dallas Website Development)


introduce you to the programming: let's go ahead and i've right in start
enough with a variable names every variable impeach must started with a
dollar signed followed by the variable name the variable name most start
with a letter or and underscored it can to start with a number we assign
value to the variable by using an equal operator and in which we an
expression is anything that express as a value the value would be an
expression of it itself and once the variable has been as an [COUGH] and
value the variable also becomes an expression now the state and we end with
a semi column and you can think of statements as any kind of action in
programming (Dallas Website Development)so in this case the action is simply a sign in a value to thevariable and we complete the statement in we were the semicolon which is how
all the statements in ph me and also just get you guys a little bit
more familiar with a programming lingo when the people has been a sign value we
can say that the variable has ~~~~~~~ defined and initialize done just ready
to use ok let's go ahead and start program and i'm going to the here i'm
going to be using that beans with a custom dark effect theme that have
create so we start which we by opening pitch we tag and we handed with a
close intact just like that now just show you in example of comments a
single line comment in babies our self with two for slashes and the comments
and peach we are just the way for us programmers to understand their or go
to a little bit better and an alternative waste the use of around for a
single an comment now the multiplying comments started for the forest to
start and their ended with a star for slash and you can and i would ever
~~~~~~~ tags or cold you want in between these and it's going to be ignored
with by the this interplay just like that now let me go ahead and defined
some variable names i'm going to go ahead and defined some variables here
and they're all going to have different pipes and the time so just basically
valley types so these are four different data types this is a string down to
take this is a infringer down to take this is a lot that a tape and finally
billion data take and just to clarify a little bit more there's three
categories done that i have scaling compose in special in each scale or you
can think i was a single unit of data so those are the ones that i just
defined so the first on here is a string which is a text and is going to be
in closing finger double quotes next one is an entire which is a whole
number float which is a fractional number and finally bully the which is

there the one and the billions can also be expresses true for one and folds
for a zero now the other the composite you can think of composite as a
collection of data so and obvious example isn't or a which can hold multiple
valley is the second one is object which re first the instance of the class
which i'll covered thing and they're the video and finally and special under
special we have no which is it like i'm variable has been assigned constant
nl has not been the sound any badly has been an set and find the there is a
resource which holds special eyes valleys like database connections so those
are the at a time [UH] supported by ph now let's go out and out i put some
of these variable values to the screen i'm going to use a keyboard called
echo which out those the values to the screen and i just kept saying the
game they main was released.

No comments:

Post a Comment