PHP-and-MySQL/C2/Common-Way-to-Display-HTML/Khasi

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:00 Hangne kadon ka jingai jingmut ban pyni ia ka HTML ha ka php jong phi.Kane ka iarap kyrpang haba phi pyndonkam ia ki ‘if’ statements lane kano kano kaba pyndonkam ia ka block bad haba phi pyndonkam ban leh ia kane ha ka condition lane phi pyndonkam ban output shibun jong ka HTML hapoh kaei kaei kaba treikam ha ka php.
00:23 Ha kane ka nuksa, nga don ia u variable - name bad ia une la set sha "alex".
00:30 Te , lada nga type - $name equals alex te kan sa echo “Hi, Alex”.
00:36 Lada ka $name kam iaryngkat bad "Alex"- te ngi type else- ngin echo “You are not Alex. Please type your name”.
00:47 Bad ngi don ia ka input field hangne kaba dei ban don ia ka form sawdong jong ka.
00:53 Te, form action equals 'Index.php'

method = 'POST' Bad ngi pynkut ia ka form hangne.

01:05 Ngi lah ban wanrah ia kane shapoh khyndiat khnang ba kan kham itynnad. Te, ngi don katto katne ki HTML code hapoh kane ka else block .
01:15 Te ngi type ‘If else’ bad ngi don ia ka block kaba sdang hangne bad kaba kut hangne. Bad kaba lah ban don shibun ki HTML code.
01:27 Ka jingthmu jong kane ka jinghikai kadei ban pyni ia phi ba phim donkam ban pyndonkam echo ban echo ia ka HTML code.
01:34 Ka suk bha bad ka pynduna ia ka jing lut por haba phi kwah ban code da kaba pyndonkam ia ki quotation marks lait na ki single inverted commas.
01:41 Bad ka kham sngewtynnad ban don ia u code hapoh ki blocks, shu ong, kane ka block hangne khlem da donkam ban khuslai shaphang kaei kaba phi type.
01:58 Te , lada phi lah mlien ban pyndonkam ia ki quotation marks une u forward slash un pynjah ia u character.
02:08 Te , kan sa shah pyni tangba kan sa shah kyntait kum kaba kut jong ka echo bad kaba sdang jong kane ka echo hangne.
02:20 Kum ka nuksa: to ngin shu refresh.
02:25 Namar ba name equals "Alex", ka ai khublei ia nga kumba ngi la iohi hashwa.
02:31 Ka echo ka biang na ka bynta ki text ba khyndiat tangba na ka bynta shibun ki text bad ka form bad kiwei kiwei, ngim kwah ia ka echo.
02:44 Kumba ka long, ia mynta kan nym run. Ngin sa ioh ia ka error. Ngi khlem pat ai ia ka rukom jong ka output na ka bynta kane ka text.
02:59 Kadon ha ka line 12. Te, lada phi leit sha ka line 12, phin sa iohi ba ka don hangne. Ngi lah ban pynbeit ia ka jingeh ha kane ka rukom.
03:09 Ngi don ia ka php opening tag jong ngi hangne bad ngan pynkut ia ka tag hangne hapoh.
03:16 Te, ngi pynkut ia ka tag hadien ba ka block ka sdang. Mynta, ngan sdang ia u tag bathymmai hashwa ki flower brackets lane ki curly bracket hangne.
03:31 Te mynta ngi don ia ka thup jong ka php code hangne bad ka thup hangne. Bad kaba sah hangne khlem shim kum ka php. Namar ba kadei ka HTML kan sa shah pyni kum ka HTML code.
03:49 Te, kaei kaba ngan leh nyngkong kadei, pynkylla ia kine sha ki quotation marks.
03:56 Lada phi pyntreikam ia kane ka rukom naduh basdang , phi lah ban code da kaba suk bad kan treikam kham bha shibun.
04:08 Te, sa shisien kumba ka paw ha ka screen ngi don ia ka block hangne bad ka block hangne. Ka lah ban paw kumba ka php kan kut hangne.
04:22 Tangba ngi khlem pynkut ia ka block hangne hapoh, ha kane ka jaka tangba ngi ia hiar hangne hapoh. Ngim ia echo tangba ngi pyni ia kane.
04:37 Kane ka thew kyrpang eh sha ka else block. Ngi pynkut ia ka block ha ka line rong blue ba pynthaba hangne bad hangne.
04:47 Te sa shisien, ngin ioh nyngkong “Hi, Alex”. Mynta lada ngi pynkylla ia ka kyrteng shu ong sha "Kyle", refresh.
05:01 Phin iohi ba ka HTML la pyni bha. Tangba kam pat echo da kaba pyndonkam php.
05:09 Kane ka dei ka rukom ban pyndonkam haba phi kwah ban pyni bha ia ka HTML bad pule ia ka da kaba suk. Kyrmen kane ka jinghikai ka long kaba iarap. Nga i Meboreen na Shillong nga pynkut ia kane. Khublei Shibun.

Contributors and Content Editors

Meboreen Mary