Array Problem
I created an array
PHP Code:
g_activesub[ProIcons][Status]="Searching..." ... i tried to achieve that with g_activesub[ret_getuser_id(id)][Status]=status; g_activesub[user][Status]=status; format(g_activesub[ret_getuser_id(id)][Status],31,"%s",status); copy(g_activesub[ret_getuser_id(id)][Status],31,status); but anyway i allready knew that they wouldn't gonna work. but i just test them, any idea? how can i do it... |
Re: Array Problem
PHP Code:
Quote:
|
Re: Array Problem
Not sure if i can follow you... what exactly different did you make?
|
Re: Array Problem
PHP Code:
Edit: the edit shit make me like an idiot, like i'm writing by my self. stop doing that. Thanks. |
Re: Array Problem
You are unable to format a variable with one cell. You need at least, a variable with two cells.
PHP Code:
PHP Code:
|
Re: Array Problem
PHP Code:
|
Re: Array Problem
Don't you see the difference!?
Replace PHP Code:
PHP Code:
|
Re: Array Problem
I have replace it maybe?
The error is on array "user" says that is Un-indexed PHP Code:
|
Re: Array Problem
PHP Code:
|
Re: Array Problem
thats the way i would wanted with String, but its ok i thing. i will do it with IDs, thats the answer i was seeking all this time.
|
| All times are GMT -4. The time now is 07:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.