Please download to get full document.

View again

All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
 81
 
  ASIX – Módulo 9 UF 1: Lenguaje de guión de servidor Las tablas - Arrays Las tablas o arrays, son muy importantes en PHP, ya que generalmente, las funciones que devuelven varios valores, como las funciones ligadas a las bases de datos, lo hacen en forma de tabla. Un array es una colección de valores con un único nombre. Para acceder a los distintos valores de la variable se utiliza un índice numérico o alfanumérico. Creación de arrays Asignación directa Se asignan valores cuando se necesitan.
Related documents
Share
Transcript
  EWN] ‗ L÷h{ca >[I 54 Ck`b{edk hk b{n÷` hk wkzynhaz  Cew xejcew , Ezze~w Cew xejcew a ezze~w# wa` l{~ nlvazxe`xkw k` VMV# ~e u{k bk`kzeclk`xk# cew i{`gna`kwu{k hky{kcyk` yeznaw yecazkw# gala cew i{`gna`kw cnbehew e cew jewkw hk hexaw# camegk` k` iazle hk xejce. [` ezze~ kw {`e gackggn÷` hk yecazkw ga` {` ô`nga `aljzk . Veze eggkhkz e cawhnwxn`xaw yecazkw hk ce yeznejck wk {xncnte {` ì`hngk `{lîznga a ecie`{lîznga. Gzkegn÷` hk ezze~w Ewnb`egn÷` hnzkgxe Wk ewnb`e` yecazkw g{e`ha wk `kgkwnxe`. Ce vznlkze ykt u{k ewnb`klaw {` yecaz# kcezze~ wk gzkezå k` kc k`xaz`a4Kdklvca Ezze~QWnlvck.vmv4 31vmv(lnQezze~_5\ < :7? !! Ewnb`egn÷` hnzkgxekgma *Ce ezze~ ga`xnk`k4 (lnQezze~_5\ 3jz0*?{`wkx-(lnQezze~.?10 Hk kwxe iazle xk`klaw {` yecaz ewnb`eha ec ì`hngk 5 hkc ezze~. Wk v{khk ewnb`ez g{ecu{nkz ì`hngk k` ce gzkegn÷` hk kwxk xnva hk hexaw# k n`gc{wa `a ewnb`ez `n`b{`a# hkiazle u{k VMV wk k`gezbe hk ewagnez {` ì`hngk hnwxn`xa veze gehe yecaz. 31vmv(lnQezze~_\ < :7? !! Klvnkte k` kc ì`hngk 6(lnQezze~_\ < ;8? !! ì`hngk 5kgma *Ce ezze~ hk ì`hngk 6 ga`xnk`k4 (lnQezze~_6\ 3jz0*?kgma *Ce ezze~ hk ì`hngk 5 ga`xnk`k4 (lnQezze~_5\ 3jz0*?10 Axza kdklvca4 31vmv(gn{heh_\ < *Vezìw*?(gn{heh_\ < *Zale*?(gn{heh_\ < *Wkyncce*?(gn{heh_\ < *Ca`hzkw*?kgma *Ynya k` (gn{heh_:\*?10 5  EWN] ‗ L÷h{ca >[I 54 Ck`b{edk hk b{n÷` hk wkzynhaz  ezze~- . Kwxe i{`gn÷` gzke {` ezze~ ga` caw yecazkw u{k vewk gala hexaw hk k`xzehe . Cawì`hngkw wkzå` eõehnhaw e{xalåxngelk`xk klvkte`ha hkwhk 6. Wn `a ewnb`e`vezålkxzaw e ezze~-# ce i{`gn÷` ck hkyacykzå {` ezze~ yegìa.Kdklvca I{`gna`QEzze~.vmv4 31vmv(lnQezze~ < ezze~-:7#8;#29#:7#9;.?kgma *Ce ezze~ ga`xnk`k4 (lnQezze~_:\ 3jz0*?{`wkx-(lnQezze~.?10 Kc lîxaha kw wnlncez e4 31vmv(lnQezze~_6\ < :7?(lnQezze~_5\ < 8;?(lnQezze~_:\ < 29?(lnQezze~_7\ < :7?(lnQezze~_8\ < 9;?kgma *Ce ezze~ ga`xnk`k4 (lnQezze~_7\ 3jz0*?{`wkx-(lnQezze~.?10 Axza kdklvca4 31vmv(gn{heh < ezze~-*Vezìw*# *Zale*# *Wkyncce*# *Ca`hzkw*.?!!ga`xelaw kc `ôlkza hk kcklk`xaw hk ce xejce(`{l < ga{`x-(gn{heh.?!!nlvznlnlaw xahaw caw kcklk`xaw hk ce xejcekgma *3{c x~vk<wu{ezk0*?iaz -(n<6? (n 3 (`{l? (n//.kgma *3cn0Kc ì`hngk (n kw (gn{heh_(n\*?|kgma *3!{c0*?10 Ce i{`gn÷` ezze~- . vkzlnxk xeljnî` eõehnz ì`hngkw e caw yecazkw u{k wk n`xzah{gk`.Veze kcca wk {xncnte kc avkzehaz  <0 hk kwxe iazle4 31vmv(lnQezze~ < ezze~-6 <0 :7# 5 <0 8;# : <0 29.?kgma (lnQezze~ _6\ *3jz0* (lnQezze~_:\ *3jz0*?!!Hkin`nlaw ce vznlkze vawngn÷` hkc ezze~ gala 5(gn{heh < ezze~-5<0*Vezìw*# *Zale*# *Wkyncce*# *Ca`hzkw*.?kgma *Emaze ce vawngn÷` 5 kw4 (gn{heh_5\ 3jz0*?10 :  EWN] ‗ L÷h{ca >[I 54 Ck`b{edk hk b{n÷` hk wkzynhaz  Xeljnî` kw vawnjck eõehnz ì`hngkw u{k `a wke` gazzkcexnyaw a ì`hngkw ecie`{lîzngaw#n`gc{wa lktgcez caw haw xnvaw. Veze zkg{vkzez g{ecu{nkz yecaz wk {xncnte kc ì`hngk hk`xzahk caw gazgmkxkw4 31vmv(lnQezze~ < ezze~-*gkza* <0 :7# *{`a* <0 8;# : <0 29.?kgma (lnQezze~ _*{`a*\ *3jz0* (lnQezze~_:\ *3jz0*?10 Cew xejcew ewagnexnyew wkzå` cew u{k e gehe kcklk`xa wk ck ewnb`k {` yecaz -ok~.veze eggkhkz e îc Kdklvca4 w{va`belaw u{k xk`klaw {`e xejce k` ce u{k gehe kcklk`xa eclegk`e kc`ôlkza hk ynwnxew e `{kwxze rkj vaz gehe hìe hk ce wkle`e. [xncnte`ha kc lîxahagcåwnga hk ì`hngkw# gehe hìe hk ce wkle`e wk zkvzkwk`xezìe vaz {` k`xkza# 6 vezec{`kw# 5 veze lezxkw# kxg. (ynwnxew_6\ < :66?(ynwnxew_5\ < 5=9? Wn {welaw cew xejcew ewagnexnyew wkzìe4 (ynwnxew_*c{`kw*\ < :66?(ynwnxew_*lezxkw*\ < 5=9? A jnk`# (ynwnxew < ezze~-*c{`kw*<0:66? *lezxkw*<05=9.?kgma (ynwnxew_*c{`kw*\ *3jz0*? 7  EWN] ‗ L÷h{ca >[I 54 Ck`b{edk hk b{n÷` hk wkzynhaz  Zkgazznha hk xahaw caw kcklk`xaw hk {` ezze~  Ce le`nv{cegn÷` hk cew xejcew ewagnexnyew wk megk e xzeyîw hk i{`gna`kw u{k egxôe`wajzk {` v{`xkza n`xkz`a u{k n`hnge ce vawngn÷`. Vaz hkikgxa# kc v{`xkza wk wnxôe k`kc vznlkz kcklk`xa eõehnha k` ce xejce# mewxe u{k kw laynha vaz {`e i{`gn÷`4  g{zzk`x-ezze~. , hky{kcyk kc yecaz hkc kcklk`xa u{k n`hnge kcv{`xkza  vaw-ezze~. , zkecnte ce lnwle i{`gn÷` u{k g{zzk`x  zkwkx-ezze~. , l{kyk kc v{`xkza ec vznlkz kcklk`xa hk ce xejce  k`h-ezze~. , l{kyk kc v{`xkza ec ôcxnla kcklk`xa hk ce xejce  `k}x-ezze~. , l{kyk kc v{`xkza ec kcklk`xa wnb{nk`xk  vzky-ezze~. , l{kyk kc v{`xkza ec kcklk`xa e`xkznaz  Kdklvca I{`gna`kwQXejcew.vmv4 31vmv(wkle`e < ezze~-*c{`kw*# *lezxkw*# *lnîzgackw*# *d{kykw*#*ynkz`kw*# *wåjeha*# *haln`ba*.?kgma g{zzk`x-(wkle`e. *3jz0*? !!c{`kw`k}x-(wkle`e.?kgma vaw-(wkle`e. *3jz0*? !!lezxkwk`h-(wkle`e.?kgma vaw-(wkle`e. *3jz0*? !!haln`bavzky-(wkle`e.?kgma g{zzk`x-(wkle`e.? !!wåjeha10 kegm -ezze~. Ce i{`gn÷` kegm-.   hky{kcyk kc yecaz hkc kcklk`xa egx{ec # k` kwxk gewa# kc yecaz hkckcklk`xa egx{ec ~ w{ gceyk# ~ hkwvcete kc v{`xkza ec wnb{nk`xk# g{e`ha cckbe ec in`echky{kcyk IECWA. Zkg{vkze {` ezze~ ga` haw kcklk`xaw# kc vznlkza wkzå kc ì`hngk ~ kcwkb{`ha kc yecaz.Ce i{`gn÷` cnwx-. kw låw jnk` {` ga`wxz{gxaz# ca u{k megk kw ewnb`ez yecazkw e {`e cnwxehk yeznejckw. K` kwxk gewa caw yecazkw wa` k}xzeìhaw hk {`e xejce vaz ce i{`gn÷` kegm-. .Kdklvca I{`gna`QKegm.vmv4 31vmv(ynwnxew < ezze~-*c{`kw*<0:66# *lezxkw*<05=9# *lnîzgackw*<05>6#*d{kykw*<052;.?rmnck -cnwx-(gceyk# (yecaz. < kegm-(ynwnxew..kgma *Kc (gceyk me xk`nha (yecaz ynwnxew 3jz0*?|10 8
Related Search
Php
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks