In PHP, it isn't necessary to do any work to get the GET or POST form contents decoded and separated, because the PHP server does all that work for you, and also collects all cookies your browser has sent to the server, putting each set of key=value pairs in appropriately-named associative arrays:

$_GET = Array ( )

$_POST = Array ( )

$_COOKIE = Array ( )

PHP also merges GET, POST and COOKIE data into a single associative array:

$_REQUEST = Array ( )

Now this PHP script will start the new stuff under development...
For key=[num1], val=[], checking...
Bad: Not any digit anywhere.
For key=[num2], val=[], checking...
Bad: Not any digit anywhere.
For key=[num3], val=[], checking...
Bad: Not any digit anywhere.
For key=[num4], val=[], checking...
Bad: Not any digit anywhere.
For key=[num5], val=[], checking...
Bad: Not any digit anywhere.
For key=[num6], val=[], checking...
Bad: Not any digit anywhere.
For key=[num7], val=[], checking...
Bad: Not any digit anywhere.
For key=[num8], val=[], checking...
Bad: Not any digit anywhere.