Chapman Posted March 30, 2010 Report Share Posted March 30, 2010 piem man ir neatkjeksees chackbox, es to akjekseeju, un nospiezot pogu lai nolasa datus no checkbox? ka nolasit datus no chackbox un ka ierakstit db kaut ko, ja ir checked? Quote Link to comment Share on other sites More sharing options...
2easy Posted March 30, 2010 Report Share Posted March 30, 2010 name="tavs-nosaukums" value="tavi dati" atķeksēšanu pārbauda ar isset($_POST['tavs-nosaukums']) vērtību paņem ar $_POST['tavs-nosaukums'] ieliek datu bāzē tāpat kā jebkuru citu vērtību... Quote Link to comment Share on other sites More sharing options...
briedis Posted March 30, 2010 Report Share Posted March 30, 2010 Cilvēki galīgi gūglē vairs meklēt nemāk :( Quote Link to comment Share on other sites More sharing options...
2easy Posted March 30, 2010 Report Share Posted March 30, 2010 šis forums jau ir tāds kā googles proxy :D Quote Link to comment Share on other sites More sharing options...
Chapman Posted March 30, 2010 Author Report Share Posted March 30, 2010 pēc manas pornofilmu izlases izveides, mamma aizliedz gūgli :D :D :D :D Quote Link to comment Share on other sites More sharing options...
Kemito Posted March 30, 2010 Report Share Posted March 30, 2010 Smieklīgi vienkārši! Atķeksē Chekcbox`u un tie dati, kas rakstīti VALUE tiek ņemti, ja viņu nav tad nav! Attiecīgi, sākumu vērtību izmanto klāt checked ( atķeksēts ) ! Vecīt tur atkal vaig HTML beisiku mazliet - http://www.web-source.net/html_codes_chart.htm Lūktum! Quote Link to comment Share on other sites More sharing options...
daGrevis Posted March 30, 2010 Report Share Posted March 30, 2010 Kemito, šamam rakstīts, ka viņš "HTML un CSS jau māku! "! :P Quote Link to comment Share on other sites More sharing options...
Chapman Posted March 31, 2010 Author Report Share Posted March 31, 2010 eh... izmantoju checkbox kā attēlošanu administrācijas panelim ir admins vai arī naw! T/F vērtības, kas db man saglabājas kā 0 un 1! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.