zeroabsolut Posted February 10, 2016 Report Posted February 10, 2016 1.Scrieti un program php care sa preia si sa afiseze datele introduse de utilizator dintr-un obiect de selectie multipla in html 2.Scrieti un program java script care prin intermediul unei casete text permite introducerea unei expresii de evaluare iar la apasarea unui buton calcueaza si afiseaza intr-o caseta text rezultatul 1 Quote
zeroabsolut Posted February 10, 2016 Author Report Posted February 10, 2016 nu e pt mine e pt un baiat(eu fac c++ nu php, java script si html) una din 2 ar fi mai mult decat sufiecent Quote
zeroabsolut Posted February 10, 2016 Author Report Posted February 10, 2016 22 hours ago, Gecko said: https://jsfiddle.net/knfhqsj1/9/ multumesc Quote
Axu Posted February 10, 2016 Report Posted February 10, 2016 <?php if ($_GET['select']) { $values = $_GET['select']; print_r($values); } ?> <!DOCTYPE html> <html> <head> <title>Test</title> </head> <body> <form method="get"> <select name="select[]" multiple="yes"> <option value="111">111</option> <option value="2">2</option> <option value="3">3</option> </select> <button type="submit">Submit</button> </form> </body> </html> 1 Quote