Вот мой php код
Цитата |
<h3>Hi, </h3> <?php print $name ?> |
Цитата |
Hi, |
Цитата |
<form method = "post" action = "name.php"> <center> your name <input type = "text" name = "name" value = ""> |
<? print $name, $surname?>
<? print $name.$surname?>
<?
$name = $_POST['name'];
//с проверкой $name = isset($_POST['name'])?$_POST['name']:"Name";
$surname = $_POST['surname'];
// c проверкой $surname = isset($_POST['surname'])?$_POST['surname']:"Surname";
print "$name $surname ";
?>