Answers for "get input data in php"

PHP
1

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;
    
}
?>
Posted by: Guest on September-06-2021

Browse Popular Code Answers by Language