hEiti Posted June 18, 2008 Report Posted June 18, 2008 echo "<table border='0'> <tr> <th></th> <th> _group </th> <th> _group </th> </tr>"; ka lai panaku kad starp tagiem <th></th> varu ielikt tekstu kas cita faila definets zem _text ???? izmeginajos ar visam kjepam ko vareju atrast neizdevas ;( varbut kads vell var piemest lasam vielu shim.. ta lai vairs nav jus jamoca :) vai ari kady keyname ko iesist google...
hEiti Posted June 18, 2008 Author Report Posted June 18, 2008 Lai nesaktu jaunu diskusiju pie reizes ludzu kads pasakiet <select name="select" method="post"> <option value="grapple">GR Series</option> <option value="harvester">GRS Series</option> <option value="grapple piston">Hr Series</option> <option value="industrial">GPR Series</option> <option value="compact piston">GIR Series</option> <option value="brm">CPR Series</option> <option value="br">BRM Series</option> <option value="hydraulic braking system">BRH Series</option> <option value="hooks">HA Series</option> </select> ka panakt kad db tiek ieraxtits tas kas ir raxtits uz value ?
Aleksejs Posted June 18, 2008 Report Posted June 18, 2008 Pirmo jautājumu nesapratu, otrais - pareizi jāuzraksta htmls: <form method="post" action="lapa.php"> <select name="select"> <option value="grapple">GR Series</option> <option value="harvester">GRS Series</option> <option value="grapple piston">Hr Series</option> <option value="industrial">GPR Series</option> <option value="compact piston">GIR Series</option> <option value="brm">CPR Series</option> <option value="br">BRM Series</option> <option value="hydraulic braking system">BRH Series</option> <option value="hooks">HA Series</option> </select><input type="submit"></form> un tad iekš lapa.php $selects=$_POST['select']; //te seko vaicājuma, kas ievietos DB izveide
hEiti Posted June 18, 2008 Author Report Posted June 18, 2008 liels paldies un tad nakoshais jautajums :D no db query nak ara visi ieraxti no tabulas ... a ka lai uzliek katram ieraxtam kaut ko kas varetu izskatities shadi bet nedarbojas :D echo "<td><a href="tests/'$row['modelis']'.pdf">" . $row['modelis'] . "</a></td>"; ideja tada kad folderi stav faili.pdf kas saucas ta pat ka ieraxts $row['modelis'] un man vajag lai tam ko printe tabulas rinda no $row['modelis'] automatiski virsu iet links uz tests/$row['modelis'] .pdf lai uz ta uzspiezot direktotu uz pdf failu ar pilnu aprakstu :) jau iepriex visiem paligotajiem :)
hEiti Posted June 18, 2008 Author Report Posted June 18, 2008 paraleli jau entais jautajums cits.. ar talejoshu domu :D ja man db 01 karto priexa 10 .. bet aiz 1 10 nevis 2 tad ka man panakt to lai 10 butu aiz 9 :) un 20 aiz 19 :) nevis aiz 2 :)
andrisp Posted June 18, 2008 Report Posted June 18, 2008 Izmanto pareizu datutipu. Tev tur tikai cipari ir ? Izmanto INT.
Aleksejs Posted June 18, 2008 Report Posted June 18, 2008 hEiti... Kā sokas ar ERROR REPORTING IESLĒGŠANU??? echo ... ir kļūdaini atvērtas/aizvērtas pēdiņas un nav izmantota konkatenācija, kur tā vajadzīga.
hEiti Posted June 18, 2008 Author Report Posted June 18, 2008 Izmanto pareizu datutipu. Tev tur tikai cipari ir ? Izmanto INT. Andri kartejo reizi paldies :)
Recommended Posts