How can I add more items to the below array. I tried the belowexample and that does'nt work. / SET HEADER ROW ARRAY/ $Header = array ( 0 => "John", "Fred" );
$Header = array ( "Jimmy.", "Fred" );
To add to a numerically indexed array, you can do like this:
$Header[] = 'Jimmy'; $Header[] = 'Fred';
Your example overwrites the array with a new one.
More details are here.
Another and probably more efficient way is to use the Array Push Function
HTH