Jump to content
eyexro

Problema php

Recommended Posts

Posted

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

c3194ebe66.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...