There is:
$help = array(1;2;3;6;7,9) $arr = explode(";", $help)); $colnum=400; for ($i = 1; $i <= colnum; $i++) { if ($i==$arr)continue; echo '$i,'; } It should turn out 4,5,8,10,11,12,13,14 ... 400
How to write a for control construct (possibly using a while) to successfully output the necessary values?