krumins Posted December 20, 2014 Report Share Posted December 20, 2014 Sveiki!Esmu iesaaceejs un nepiecieshama paliidziiba saistiibaa ar PHP drop down list. <form method="post" action="form.php"> <select name="zanri"> <option value="zanrs1">Zanrs 1</option> <option value="zanrs2">Zanrs 2</option> <option value="zanrs3">Zanrs 3</option> </select> <input type="submit" value="send"> </form> Zanri: <?php print $_POST['zanri']; ?> Kaa uztaisiit taa, lai izveeloties attieciigo zanru no lista, atver foldera saturu (folderaa viens HTML fails un divi .jpg faili). Sobriid pie PHP rezultata uzrada tikai value ierakstu. Doma liidziiga kaa shajaa video- https://www.youtube.com/watch?v=EOV7Xi4_7Bw&feature=youtu.be Varbuut kaads var ieteikt kaadu tutorialu. Quote Link to comment Share on other sites More sharing options...
Val Posted December 20, 2014 Report Share Posted December 20, 2014 https://www.youtube.com/channel/UCmqRMI1k0R221Ozq86l6pgA 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.