Loading ...
Sorry, an error occurred while loading the content.

Re: [php_greek] checkbox array problem!

Expand Messages
  • Vlachopoulos Paris
    Akoma pisteyw oti to provlima mporei na einai stous apostrofous, einai kalo anti gia [ ] na xrisimopoieis [ ] diladi:
    Message 1 of 9 , Nov 11, 2004
    • 0 Attachment
      Akoma pisteyw oti to provlima mporei na einai stous
      apostrofous, einai kalo anti gia ['] na xrisimopoieis [\"]
      diladi:
      <td align=center><INPUT TYPE=CHECKBOX
      NAME=\"$check[$lesson_id]\" ...
      Paris
    • parisvlach
      Otan exeis checkbox me value kai einai checked, stelnei to value kai oxi on. Den katalava kala to provlima stin arxi opote sorry gia to prwto mou, einai asxeto
      Message 2 of 9 , Nov 11, 2004
      • 0 Attachment
        Otan exeis checkbox me value kai einai checked, stelnei to value kai
        oxi on.
        Den katalava kala to provlima stin arxi opote sorry gia to prwto
        mou, einai asxeto :-/
        Steile ama theleis to url pou stelneis ston server meta apo submit
        Paris

        > The problem should not be in the form page but in the page that
        recieves
        > your posted data.
        > When a checkbox is checked the value passed is not "1" but "on".
        > So in your recieving script you should replace:
        >
        > "if($value==1){" with
        > "if($value=='on'){"
      • andreasmore82
        Basika o Apache trexei topika sto systhma mou ,(den ton exw bgalei prws ta exw)kai den nomizw na mporeis na ton deis.(den eimai kai sigouros an ginete auto).
        Message 3 of 9 , Nov 11, 2004
        • 0 Attachment
          Basika o Apache trexei topika sto systhma mou ,(den ton exw bgalei
          prws ta exw)kai den nomizw na mporeis na ton deis.(den eimai kai
          sigouros an ginete auto).

          mporw na steilw sta files ta 2 arxeia poy xrhsimopoiw kathws kai tous
          dio pinakes mysql , an endiaferetai kapoios.

          Pantos to problhma sunexizei na yparxei , diladi den mou emfanizei
          tipota otan kanw submit.

          Euxaristw gia thn mexri twra bohtheia.

          Andreas
        • Vlachopoulos Paris
          Enoousa na stileis to request pou stelneis ston server otan kaneis submit. Vale method=get kai des ti stelnei, des to sourcecode tis selidas pou stelnei o
          Message 4 of 9 , Nov 12, 2004
          • 0 Attachment
            Enoousa na stileis to request pou stelneis ston server
            otan kaneis submit.
            Vale method=get kai des ti stelnei, des to sourcecode tis
            selidas pou stelnei o server ston browser sou, gia na deis
            an ta checkbox einai entaxei kai ean exoun value, name
            klp, vale kai kana echo stis metavlites sou gia na deis ti
            periexoun, ayta se genikes grammes.
            kali tyxi
            Paris

            On Thu, 11 Nov 2004 13:08:30 -0000
            "andreasmore82" <andreasmore82@...> wrote:
            >Basika o Apache trexei topika sto systhma mou ,(den ton
            >exw bgalei
            >prws ta exw)kai den nomizw na mporeis na ton deis.(den
            >eimai kai
            >sigouros an ginete auto).
            >
            >mporw na steilw sta files ta 2 arxeia poy xrhsimopoiw
            >kathws kai tous
            >dio pinakes mysql , an endiaferetai kapoios.
            >
            >Pantos to problhma sunexizei na yparxei , diladi den mou
            >emfanizei
            >tipota otan kanw submit.
            >
            >Euxaristw gia thn mexri twra bohtheia.
            >
            >Andreas
          Your message has been successfully submitted and would be delivered to recipients shortly.