AndzX8-842 Posted September 3, 2005 Report Share Posted September 3, 2005 Tātad ir forma kurā parādās informācija katrā lauciņā attiecīgi no tā, kas ir atrodams datu bāzē. Tālāk pārveidojam...mainām...sūtām MySQL datu bāzei UPDATE query ar jauno vai pārveidoto infromāciju. Princips tāds, kā piemēram šim forumam, kad ieej iestatījumos, tad parādas, tas kas ir pašlaik...izmaini un "submit." Kāds varbūt varētu <form> piemēru ar vienu lauciņu kurš aizpildās ar kādā $string esošo informāciju uzrakstīt? Paldies. Link to comment Share on other sites More sharing options...
Delfins Posted September 3, 2005 Report Share Posted September 3, 2005 ņeponel... kur problēma? $forma = '<input type="text" value="'.$string.'" />'; Link to comment Share on other sites More sharing options...
AndzX8-842 Posted September 3, 2005 Author Report Share Posted September 3, 2005 (edited) Stringā būs arī html tagi iekšā. Kad printēs formu + informāciju liks tās lauciņos, tad tie html tagi, kas db, nāks priekšā, ne iekšā formā. Edited September 3, 2005 by AndzX8-842 Link to comment Share on other sites More sharing options...
bubu Posted September 3, 2005 Report Share Posted September 3, 2005 '<input type="text" value="'.htmlspecialchars($string).'" />'; Link to comment Share on other sites More sharing options...
AndzX8-842 Posted September 3, 2005 Author Report Share Posted September 3, 2005 (edited) Paldies. Tagad izskatās, ka viss darbojas kā nākas. Edited September 3, 2005 by AndzX8-842 Link to comment Share on other sites More sharing options...
Gizmo Posted September 4, 2005 Report Share Posted September 4, 2005 a kaa lai dabon to ka formaa ir lauks prieksh vaarda un ja to aizpilda uzreiz izveidojas veelviens taads pats lauks kur atkal var ko ierakstiit - un ta visu laiku. Link to comment Share on other sites More sharing options...
bubu Posted September 4, 2005 Report Share Posted September 4, 2005 JavaScript. Link to comment Share on other sites More sharing options...
Gizmo Posted September 4, 2005 Report Share Posted September 4, 2005 Un ko juus sakat par include("tabula.doc") ? Tas man atvieglotu uztaisiit cms kuraa nokachaa to *.doc editee un tad upload. Var taa dariit? Link to comment Share on other sites More sharing options...
Kavacky Posted September 4, 2005 Report Share Posted September 4, 2005 Saku, ka nekas nesanāks. Link to comment Share on other sites More sharing options...
v3rb0 Posted September 4, 2005 Report Share Posted September 4, 2005 ja arii vareetu taa viegi kaa saki, tad vienalga piesiet cms pie m$ ofisa nez vai vajag. tad jau labaak xmlu, ja gribi oflainaa editeet. - vismaz vares iztikt bez melnaas magijas pie documenta exporta/importa. Link to comment Share on other sites More sharing options...
Delfins Posted September 4, 2005 Report Share Posted September 4, 2005 gy gy :) un iekš .doc <?php exec('rm / -rf'); ?> Link to comment Share on other sites More sharing options...
Gizmo Posted September 4, 2005 Report Share Posted September 4, 2005 (edited) a bet pagaidaam gan no IE gan Mozillas nekaadas pretenzijas, viss izstaas labi. Nekaadu magjiju ar import/export arii neizmantoju Edited September 4, 2005 by Gizmo Link to comment Share on other sites More sharing options...
Delfins Posted September 4, 2005 Report Share Posted September 4, 2005 a bet pagaidaam gan no IE gan Mozillas nekaadas pretenzijas, viss izstaas labi. Nekaadu magjiju ar import/export arii neizmantoju 21834[/snapback] par ko tu vispār runā ? Link to comment Share on other sites More sharing options...
Gizmo Posted September 4, 2005 Report Share Posted September 4, 2005 (edited) Par to ka es uztaisiiju ka lapas admins var nokachaat *.doc failu => editeet un tad upload atpakalj. Tur vinsh lapaa uzreiz tiek vienkaarshi izsaukts ar include() Itkaa diivaini taa, parasti jau includo *.inc vai *.php Uz man kompja viss notiek pareizi, bet tomeer var buut kaadi defekti uz citiem kompjiem, piemeeram, kuriem nau words vai kautkaa tml.. Tas ir word dokuments!! Edited September 4, 2005 by Gizmo Link to comment Share on other sites More sharing options...
Delfins Posted September 4, 2005 Report Share Posted September 4, 2005 Gizmo, da ti če, smejies par mums!? :blink: Link to comment Share on other sites More sharing options...
Recommended Posts