Adding values to an existing Session array |
[eluser]Pygon[/eluser]
Brandon: Hey there. Array() is typically used to create a new array. Thereafter, you can use: $entry_data['newkey'] = "newdata"; This will add new data without removing the rest of your data. If you would like to add data to the end of the array, without having a specific key, you can use: $entry_data[] = "newdata"; I would highly suggest reading: http://www.w3schools.com/php/php_arrays.asp |
Messages In This Thread |
Adding values to an existing Session array - by El Forum - 11-03-2007, 04:40 PM
Adding values to an existing Session array - by El Forum - 11-03-2007, 05:03 PM
Adding values to an existing Session array - by El Forum - 11-03-2007, 06:02 PM
Adding values to an existing Session array - by El Forum - 11-03-2007, 07:06 PM
|