form action on same page in php
<form action="<php echo $_SERVER['php_shelf'] ?>" method="POST">
<--
Your inputs here
--!>
</form>
<?php
if(isset($_POST['your input name']){
$input = $_POST['input name'];
}
?>
3.89
9
<form action="<php echo $_SERVER['php_shelf'] ?>" method="POST">
<--
Your inputs here
--!>
</form>
<?php
if(isset($_POST['your input name']){
$input = $_POST['input name'];
}
?>
Thank you!
9
0
Are there any code examples left?
New code examples in category PHP