0% found this document useful (0 votes)
3 views7 pages

Introduction to PHP

The document provides an introduction to PHP, outlining its advantages such as compatibility across various operating systems and ease of use. It discusses key concepts like variables, methods for database connection, and the importance of naming conventions in programming. Additionally, it touches on HTML linking, including internal and external links, and the use of anchor tags.

Uploaded by

manuhs885
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

Introduction to PHP

The document provides an introduction to PHP, outlining its advantages such as compatibility across various operating systems and ease of use. It discusses key concepts like variables, methods for database connection, and the importance of naming conventions in programming. Additionally, it touches on HTML linking, including internal and external links, and the use of anchor tags.

Uploaded by

manuhs885
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

elogeassmate

Dote

lescon
îotroductRon to PHP.

Fe AnwLr the Bollouing.


two ldvanta9e c PHP.
AnsPorto ble $ Tbe Code wr?tten
PHP
Can run on any OPratng &y etern , Itke
Windows ano MAC
Ainuxs
PHP r reei PHP operattng
tree ond eareiyR4steme
Qvaloble.

Q.Whot are falnteerrp


And îdentesere an ue to bane the d:ßerent
methods and cbfectt
A oen t<9er caD conti!t of ony combeooi?on
lettezs, d9eet, and on ubderscore..

3. bat fs the 9g0iaDCe karrables


hamed Memoy lcatzo
Created f the toain memy o
Computer. whacb uced totore the
data. blurn, the Progran executtone
locattone are Create cod
the hame gtuen by the
solentsoed by
be declared bs
AVarrable the vQrtab.
pre_sxfng f_egn be7ore
bamee
(.)* Date

that you use to fnclude


audothe tagvtcleo
cnd vaeo elsps. ASOPve yntaz
ter ttere tag.
Qhd otlrtbu
Qudo chpe
syntax fo
An The
audo. contiole Src -"?le natne"y
Vdeo clsp9c
and forControlsic"}ilenc me e
vedeo Qre D G Contol,.
Thegr atrbutec
gnoth arnd toop.
Qutoplayshergbt
tlow ae fhey ciseful
fames
B Whot ar:ollou to ipreen mul eple tT
Ans documente Qc oiadepehdtntWbdoc
Erames
broUIerOndow wbach
Otthab one and
qnater flensbsey ebrete.
lassMate.
(.) inte

nmyeq/Ý Connct
Ans The
method O nd
parameters usedto elabreh
Connect9on U9h the duto boRe.
le c t d b method
The nysq/P
COnnect
takek two
to
Darametere
the databuleo mutth0d
and databoke numne
Connectoob haroe

5 Orte don the maân Rtep! 9n ConnNC t9 n


the
to the databate to obtaÝn
a tables

ns Cratfng wRth tbe ytoL


RerVere
Cobnecton ctb the dotobageo
Creatn RQL query to feteh data
Creat?ng
rom the table.
Executfng Sescut.
Derplaying
lerson 8
Web App 20 Da ta ba:e
Connecttng
fotlowsng quegts9hl.

What dotobafe p Gfe eKapleg.


databage databore
Collect9on
dota Example.
Qracle.

betwien the e t work ahd


Di4}eYebtfote
Relat90n0 DBN
Bm- kupport DONy to
Netwok
hoahå
alotabase Ptructu rea Tbe DN eerer
complex DBM that
Pplernent! modle
dotobOe
elotongbip Pn the torm e tablee also
tnoun ralots Snfe Example f PDeM
MyloLOrale and

that SQL Nami any tuwo S0L~ based


DBMe Bofiwore.
Tbe tuo wy ComnmuniCathn betwen the
basect DBME Sftuare
0rvera
Whot the
QOnn0c.t ahol dherehce between nysqli
nysl? Relect db unctonf
SNA ME Ce two
ond
Vnsoble baes Cannt dteort
öntcin vosube.
theald
Tolrtiy hva ltd
names gr Yeson! for
Bor vaable
the fnvalld orne.
Anstol bumD D Starts
tarts wPtb under tcore.
a O
valld voobletOble
bence
îts a fnvallol
3Term
Retase they
Becose nust
barable
begn wALh
r r
PHE.
Price -Unt Valtd atable.
Thybegpn cO9t5 lotterc A-2).
beui- fnýalld Varable, becaue pt e
F?

areservea keyoordyCant be voOle name


Ge09 valo vartable, be caje
PHP vgPables cant contoin byphen ).
They ae oterpreted gs Bubtroctpon Lt
Should be enderLcore gn tecd
What r the d'$pe erte
G
Pesl und 6El tlh odt toelween the
lhe post nethud ir urecl to
HIM Borrm olata.
he data gubm?hed by thec
Qubmt U,.
collected, by rothod
ptdlehtned
lvbal
olata
VarPable
Collet ted
PosI.
bot VCble lo
gupr
anyont.
he GEL metbod 9s uced to pubmot
HTNL orm alata. the
Thes aato s
Collectec by the predei
Var9oble jor
The
procegs
rhorma0hPert Brom an tTML
îng.
fotmby ureng the GEr mthod ge
Vesble to everyone fn the browrer'.
The metbool 9? tbot usead to ghare
Renstteve ngoMat
Ao Bsely explah the ules tor nming
Varable.
Ant Tbe ulec for namhg Varobler cre
ar folowrl wtb a
A Varoble bame etarts
Can cobseSt Oh any combnat9oD
le ttes dtq9ts and a ubderscore.
Con be of and
anylowesce[e
length.
Jetes can
Both ppercase
be used f hamfng o varfable.
>Vaa fablw homes Qre Case Sentfve,folg Sham
(

lesson6
kinks Qbd Framesn HIM .
QuesIons.
Answe qotloong
the

by do fnclude hyprlinke n your


Gjtve 0ny tuo IeOs ons
web page P humber of
Congtse of a
AnsA Website acesc (o the
tbat Qive you
Webpag mformoteon.
reloted"
Jender
powegul
a
aature Ifnktng
HTMI
theçe' RbPagutoge ther.
This featuna. 'ts calleo ypezlinking
betwpenthe ntemal and
cDrstnqach
external nksng
Anc BectOn Qn the ame
another
P 1Dked to fntenal ltnkeng.
Re knbon n loked to
page er page e
Exteuoa k i a When Webateo ft r called
Qnother rbpage
l xtemol lnking.
uce oj the ahchor tag Gve
Decerrbe the
tinhead to each
The webpage con be
Ans. the anchor Abtag. that
othu b the teXt Or ?mage
used Qctvate
or
2e cltckecdlinkobeopneod
duftned to the Ink. And
ustno the
the
adrss that
"}CLICA HERE <a
Sqotars- a bref Value

You might also like