get input data in php
<?php
// open it in cmd
// go to file path
// cmd: php file_name
$a =(int)readline("Enter any value");
$b=0;
// echo $a;
for($i=0;$i<$a;$i++)
{
echo $i;
}
?>
get input data in php
<?php
// open it in cmd
// go to file path
// cmd: php file_name
$a =(int)readline("Enter any value");
$b=0;
// echo $a;
for($i=0;$i<$a;$i++)
{
echo $i;
}
?>
php post variables to another page with submit button php
<html>
<form id="form" action="webAddressYouWantToRedirectTo.php" method="POST">
<input type="hidden" name="expectedPOSTVarNameOnTheOtherPage" value="<?php echo $varYouMadePreviouslyInProcessing ?>">
</form>
<script>
document.getElementById("form").submit();
</script>
</html>
how to get input value in php variable
$info = array('Doina', 'brown', 'long');
// Listing all the variables
list($she, $color, $hear) = $info;
echo "$she has $color eyes color and $hear black hair.n";
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us