For a guide to the choosing ASP or PHP, click here
Home >> Arrays >> Add an Item to an Array This sample code shows how to add another item to an existing array
<% ' declare our array Dim arrFood ' fill the array arrFood = Array("Apples", "Oranges", "Pears", "Grapes") ' to add an item to the array ' we have to resize it first redim preserve arrFood(ubound(arrFood)+1) ' then we add an element on arrFood(ubound) = "Steak" ' now Steak has been added to the array %> What is ASP?
What is PHP?