yeahz Posted March 1, 2009 Report Share Posted March 1, 2009 Man ir šāda forma <form action="index.php?page=cik" method="get"> <select name="dod"> <option value="1" selected="selected">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </select> <select name="cik"> <option value="1" selected="selected">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </select> <input type="submit" value="OK" /> </form> Ja tur formā ir get, tad nestrādā tā kā es gribētu, es gribētu lai aizsūtās šādi index.php?page=cik&dod=1&cik=3, bet nonāku pie šāda index.php?dod=1&cik=3, kāpēc tā page=cik tur pazūd? Ar post viss izdodas, bet es gribu lai ir ar get. Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 1, 2009 Report Share Posted March 1, 2009 (edited) atrakais variants <form action="index.php" method="get"> <input type="hidden" name="page" value="cik"> tas ir izmanto sleptos ( HIDDEN ) laukus , jo get tiek izveidots pilniia no jauna ... Un padoma vai vispar vajag GET ... tomer smukak buutu ar POST ... Un Tikai to page=cik padot ar Get (ja nu savadak nevar) ... Edited March 1, 2009 by Grey_Wolf 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.