Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to prompt user for input in php

<?php
echo "What do you want to input? ";
$input = rtrim(fgets(STDIN));
echo "I got it:
" . $input;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #prompt #user #input #php
ADD COMMENT
Topic
Name
4+3 =