eyexro Posted April 5, 2012 Report Share Posted April 5, 2012 am urmatorul cod PHP<?php if(isset($_POST['submitButton'])) { echo '<p>Bun venit, '. $_POST['nameBox'] .'! <br> <p>Ti-am pregatit 2 teste pentru a-ti verifica cunostintele acumulate pe parcursul celor 10 lectii.</p><br> <center><a href="test1.php"><img src="imagini/test1.PNG"></a><a href="test2.php"><img src="imagini/test2.PNG"></center> '; } else echo '<form name="formContainer" method="post" action="test-online.php"> Te rugam sa introduci numele pentru a avea acces la teste!<br> <input name="nameBox" type="text" /> <p></p> <input type="submit" name="submitButton" value="Trimite"/> </form>'; ?>Pe Chrome totul este ok .. insa pe mozilla si IE primesc Quote Link to comment Share on other sites More sharing options...
Vlachs Posted April 5, 2012 Report Share Posted April 5, 2012 E jalnic Quote Link to comment Share on other sites More sharing options...
eyexro Posted April 5, 2012 Author Report Share Posted April 5, 2012 @benny_loppa ma poti ajuta cu un script care sa faca acea actiune ? Quote Link to comment Share on other sites More sharing options...
Vlachs Posted April 5, 2012 Report Share Posted April 5, 2012 E jalnic ca nu observi ca scriptul tau nu este interpretat Quote Link to comment Share on other sites More sharing options...
eyexro Posted April 5, 2012 Author Report Share Posted April 5, 2012 pai da.. nu inteleg unde este greseala Quote Link to comment Share on other sites More sharing options...
GarryOne Posted April 5, 2012 Report Share Posted April 5, 2012 Tu vrei ca un fisier cu extensia .htm sa iti interpreteze cod php ? Quote Link to comment Share on other sites More sharing options...
Robert1995 Posted April 5, 2012 Report Share Posted April 5, 2012 (edited) Oh for gods sake, ia-ti wamp, instaleaza, muti codul dau in wamp/www si gata.Edit :Am scris i-ati din greseala, gecko asta ... Edited April 10, 2012 by Robert1995 Quote Link to comment Share on other sites More sharing options...
SilviuSDS Posted April 7, 2012 Report Share Posted April 7, 2012 Foloseste printf ca nu te doare mana, salvezi totul intr-un fisier .php si gata. Quote Link to comment Share on other sites More sharing options...