PHP-and-MySQL/C2/Variables-in-PHP/Khasi

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:00 Ngi pdiangsngewbha ia phi sha ka jinghikai ba donkam halor ki PHP variables.
00:04 To ngin iaid lyngba shwa ia ki katto katne ki jingdonkam.
00:07 Ki PHP variables kidei kiba suk bha ban pyndonkam; nga thikna ba phin sngewthuh ia ki shisien batai hi.
00:14 Phim donkam ban declare ia ki bad kidei kiba suk ban thoh.
00:18 Phi lah ban add ia u value sha u variable shiteng jong ka script.
00:23 Kumjuh ruh , ki convert hi sha ka data type kaba phi kwah.
00:28 Te kam donkam ban declare ia ki ha ka rukom ba pher man ka por lane shna ia u value na ka bynta jong ki man kapor
00:36 Te, kum ka nuksa, to ngin shna ia ki PHP tags hangne bad ki content jong ngi ki rung hapdeng.
00:41 Te. Mynta ngi sdang da u dollar sign ($) bad nangta ngi don ia ka kyrteng jong u variable jong ngi.
00:48 Sngewbha kynmaw ba phim lah ban sdang da u "number". Te ngam lah ban sdang da u ‘1’
00:53 Uba nga lah ban sdang dei da u "underscore" lane u "letter".
00:57 Ym shah ia kiwei pat ki characters ba kyrpang lait noh ki underscores, letters bad ki numbers katba ki dang sdang da u number.
01:06 Te, katei kan long ba la pdiang bha hangne.
01:09 Te. Ngan shna ia u variable ba kyrteng name bad uta un iaryngkat bad u string value ba don hapoh jong ki double quotes, kumba ngi pyndonkam na ka bynta ka "echo" function.
01:21 "My name is Alex".
01:23 Ha ka lain kaba bud, ngin ia shna sa uwei u variable da kaba pyndonkam ia u dollar sign ($) ba kyrteng age. Kan iaryngkat bad 19, khlem ki double quotes.
01:33 Mynta, ka daw na ka bynta kane kadei ba u dei u integer.
01:36 Phi lah ban pyndonkam ia u na ka bynta ki decimal values ruh kumjuh. Te, kane ka lah ban dei '19.5' lane khat khyndai bad u shiteng.
01:43 Kata ka lah ruh ban pynkylla hi dalade ia kane sha u decimal.
01:48 Wat la katta, ia mynta udei tang u integer. Kadei kumne ba nga kwah ma nga- u variable 'name' udei u string bad u variable 'age' udei u integer.
01:57 Te, ngin pyrshang da kaba echo ia kine.
02:00 Kaba ngi donkam kadei ka "echo" bad ka kyrteng jong u variable, khlem da klet ia u line terminator jong phi.
02:06 Te, ngin wad ia ka file jong ngi ba kyrteng "variables".
02:11 Te, "Alex" lah dep echo shabar, kumba nga la ong hangne, "echo name".
02:16 To mynta ngin pyrshang ban echo ia ka snem jong nga.
02:19 Udei tang u integer variable bad ia u lah echo hangne.
02:24 Te, ka kam bad ki variables kadei ba ki long kiba suk bha ban pyniasnoh ha u string.
02:30 Ha ka jingshisha, bunsien, ka concatenation kadei ka kyntien ba bakla- ka suk bha ban pynrung ia ki hapoh jong u string jong phi.
02:37 Lada phim tip kaei ka concatenation, ka mut ban pyniasnoh ia artylli kiei kiei lane ban pyniasnoh ia ki strings hajuh ha kawei ka lain.
02:46 Te, ka nuksa jong ka concatenation kan long, to ngin peit 'concat' bad nangta nga lah ban ong, '.' bad nangta 'ination'.
02:56 Mynta, kane kan echo ia ka 'concatination'.
02:59 To ngin pyrshang ia kane. Biang?
03:03 Tangba kadon ia ka jinghikai bapher bha halor kata. Te, kaba ngan ong kadei, ia mynta, phim donkam ban kynthup lang ia kane kum kawei na ki variables jong phi ha ka por ba phi echo ia ka.
03:14 Lada phim lah ban bud ia kane, wat khuslai. Kane kadei kaba suk bha.
03:18 Ngan ong "My name is" $name "and my age is" bad buh ia ka my age shapoh.
03:24 Mynta, baroh kidon ha uwei u string, baroh ha kawei ka echo bad ngi dang shu ioh 'My name is' – plain text.
03:32 La call ia u variable. La buh ia kane hangne. Bad ynda haba la call ia ka age, u value na ka bynta age la buh hangne.
03:40 Te, ngi lah ban refresh ia katei bad ngi lah ban iohi "My name is Alex", uba dei u variable jong ngi; "and my age is 19" bad u dei u variable jong ngi.
03:48 Te, kidei kiba suk bha ban buh ha ki strings.
03:52 Te, kine baroh kidei kiba phi donkam bha ban tip shaphang ki variables.
03:56 Kidon kiwei pat ki jait variables kum boolean, decimal – kiba nga la dep pyni ia phi, kum ka nuksa '19.5'.
04:06 Phi lah ban declare ia ki ha kajuh ka rukom, ryngkat u dollar sign.
04:10 Te, pyrshang ia kane bad phi lah ban wan biang bad pule sa katto katne ki functionality ba kham shajrong hadien haba nga leh ia kiwei pat ki projects.
04:19 Khublei Shibun! Nga I Meboreen na Shillong nga dubb ia kane na ka bynta ka Spoken Tutorial Project.

Contributors and Content Editors

Meboreen Mary, Mousumi