[PHP]if(isset($_POST['report']))#the form has been submitted
{
if($pls = $_POST['pls']) #hidden variable in pricesCostForm
{
$levels = array();
for($c=0;$c<$pls;$c++)
{
if(isset($_POST['level'.$c]))
$levels[] = trim($_POST['level'.$c]);
} [/PHP] What do I add to the following command line
Expand|Select|Wrap|Line Numbers
- C:\apache\xampp\php\php-win.exe "C:\apache\xampp\htdocs\programs\Reports\Prices\pricesReportEntry.php"
$_POST['pls'] equals 45
and $_POST['level'.42] = 'TEST'
so that the above code will create the array
Expand|Select|Wrap|Line Numbers
- $levels[0=>'TEST']
Thanks