Can some one please help me with php user input?
From basic you would do something like this:
morekey:a$ = inkey$:if len(a$ < 1 then goto morekey
This way, it waits for any key to be pressed then contines on.
How can I do this in php for example I am trying to do something like:
for ($i=1; $i<=100 $i++) {
print “$worker[$i]<br>”;
morekey:a$ = inkey$:if len(a$ < 1 then goto morekey
if a$ = “1” then do one thing.
if a$ = “2” then do something else etc.
}
I know that line above won’t work in php as it is basic, but how do I do the same thing in php. I also understand the $ signs must be on the left, but as I said the sample is using basic. Actually Q basic 4.5.
I want the system to stop and wait for any key to be touched.
Thanks
Thanks