ucze się php i napisałem taki o to prosty skrypt i po uruchomieniu go na localhoscie wyświetla się tylko: Siema jak masz na imie?, co pomieszałem? pomoże ktoś?
<?php
print("Siema jak masz na imie?");
if (isset($_GET['tekst'])){
$text = htmlspecialchars($_GET['tekst']);
print "witaj <b>$tekst</b><br />";
print'<a href="index.php>odswiez</a>';
print'<form action="index.php" method="get">';
print'<div><input type = "text" name="tekst" />';
print'<input type="submit" value="wyslij" />';
print'</div></form>';
}
?>