![]() |
Insert()?
A question, when using insert does it shift everything over one entry? Or does it simply replace the value you've inserted into.
As I was using it this function is supposed to first insert a new string into the 0 entry of the client.messages array then delete the last entry if the last entry is over five. Isn't adding any new messages after I reach the 5 limit nor deleting them. Any ideas? PHP Code:
|
Quote:
Indexes start at zero. PHP Code:
|
| All times are GMT +2. The time now is 07:08 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.