Concatenation of Second String with first using Sticky Form in PHP

<html>
<body bgcolor="skyblue">
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="POST">
<h1>Concatenation of Second String with first using Sticky Form</h1>
Enter String 1 <input type="text" name="s1" value="<?php  echo$_POST['s1'].$_POST['str2']?>"><br><br>
Enter String 2 <input type="text" name="str2"><br><br>
<input type="Submit" value="Submit">
</form>
</body>
</html>


OUTPUT : -




Comments