based from the accepted answer from this post
how to make it continuously wait for next input. for example
<?php
echo "Please Input userid ? : ";
$handle = fopen ("php://stdin","r");
$line = fgets($handle);
//THEN LET'S SAY AFTER INPUT USER ID, PLEASE INPUT ADDRESSID
//AND SON ON AND SO FORTH
//HOW DO WE MAKE THE WAITING OF INPUT CONTINUOUS ?
fclose($handle);
echo "\n";
echo "Thank you, continuing...\n";
?>
I want to ask "please input USERID" , after user input userid, "please input add id" then after user inputs add id, follows another question.. the only time code stops if it already satisfies the questions. so how to make the waiting of input continuous ?