Use many BETWEEN operators with an OR between each BETWEEN if you want do it with SQL.
I'd use one BETWEEN and process the resulting array with a php loop.
https://www.w3schools.com/sql/sql_between.asp
I think the issue is hello_world.php in not a command.
This works fine:
shell_exec("mkdir data5");
EDIT:
This might help -
https://hotexamples.com/examples/-/-/shell_exec/php-shell_exec-function-examples.html
You target a multidimensional array in php, through loops, current(), next() just off the top of my head.
Cracking these kind of arrays can be tough. As I remember, they were for me.
$acnm[$cntr]
makes sense assuming its a numeric array.
{print($acnm[$cntr])};
produces a parse error - print() enclosed with curly brackets
$amts[$cntr][11]
what are you trying to accomplish with [11]?
EDIT:
Seems to me you might be trying to describe a multidimensional array
https://www.w3schools.com/php/php_arrays_multidimensional.asp
If so, what does the dump of $amts look like?
then your code would look something like this:
$acct_a = 'company abc';
$acct_b = 'company stu';
$acct_c = 'company xyz';
$val_1 = 35;
$val_2 = 1007;
$val_3 = 20004567543;
$accounts = array($acct_a=>$val_1, $acct_b=>$val_2, $acct_c=>$val_3);
var_dump($accounts);
Now everything is variable
EDIT:
Be sure to use => instead of = AND use array_push() to add to your array
https://www.w3schools.com/php/func_array_push.asp