Setting an unique value to each cell of an array.
Hi. It is probably an easy thing to script but I have some problems with the code. See below:
PHP Code:
|
Re: Setting an unique value to each cell of an array.
try this:
PHP Code:
|
Re: Setting an unique value to each cell of an array.
Code:
Code:
|
Re: Setting an unique value to each cell of an array.
Thank you both for help :)
Everything is working properly. |
Re: Setting an unique value to each cell of an array.
Sorry for double posting but I have another question related to this thread.
I want to make so that at the end there would be printed 8 numbers (defined with NUMSTOPRINT) in the client's console but none of them would be the one that holds AnotherRandVar value. Hope you understand what I mean. PHP Code:
|
Re: Setting an unique value to each cell of an array.
this should work (assuming that there is only 1 value equal to AnotherRandVar):
PHP Code:
|
Re: Setting an unique value to each cell of an array.
I can't really test it right now but thank you for your help.
|
| All times are GMT -4. The time now is 11:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.